Hi,

I'm developing a NoChex payment processing module for the ecommerce package and I've hit a brick wall. I'm using a menu callback to register a function which takes in POSTed data and processes it, but whatever I do the function only sees an empty $_POST array (which is fairly useless!).

I've tried using global $_POST; but nothing seems to work.

Any ideas?

Comments

ahearn’s picture

Hi, Good luck with nochex, I'm wanting to move from oscommerce to drupal as I have simpler shop requrements, and as I use nochex, I'll look forward to your release.

vigo-1’s picture

Well I've just got NoChex APC working in the current CVS, so now I've just got to plug it into the API for ecommerce and I'll put out a beta-test release.

ahearn’s picture

Hey Vigo, this sounds great! I think I'll install the CVS version as this is the one feature keeping me from moving my site to Drupal.

vigo-1’s picture

I'll try and get a beta out tomorrow :-)

It will unfortunately only work in 4.6 for now, until Ecommerce is updated to use the 4.7 Forms API there's not much I can do about that!

vigo-1’s picture

Right, I've got it working. Will post the code shortly :-)

bernardwright’s picture

Hi, did you ever post the code for the nochex payment? I haven't been able to find it anywhere.

Thanks
Bernard