Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Paymentech module


Recommended Posts

I'm using the Paymentech module, pretty much "out of the box" version 2 on this site w/ the posted miniXML files.


I uncommented:


echo $xmlRequest; // source displays XML tree - comment once in production

and added:


Turns out the Request XML generates something like

   <Exp />


Which returns an error from Paymentech obviously, since no data from my form is getting into the XML.


Anyone come accross this yet? Using the latest release of osCommerce.





Link to comment
Share on other sites

More details:


In the paymentech.php, this method for the paymentech class tries to pull in a handful of globals. None of them make it in, so my XML outputs none of the neccessary customer data.



 function before_process(){
global $my_card_number, $my_invoice_description, $my_totalamount, $my_card_exp_month, 
	   					$my_card_exp_year, $my_date, $my_cc_verify, $my_card_name, $my_address, $my_city, $my_state, $my_postcode, $testvar;


Anyone know where to look for these variables so I can get them into this method?

Edited by fingersbleeding
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...