Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

BARCLAYS EPDQ


sq000

Recommended Posts

hi all, i realise that someone has kindly written an epdq module, however i have an existing epdq account and due to the fact that i share the one epdq account accross three sites i cannot impliment this module, so i could really use some help, i dont have much of a clue with code so please bear with me, i have used the sample payment gateway to attempt to write a new epdq module that would suit my circumstances, i have managed to submitt the shopping cart totals to my payment gateway and thats about it,

my majour problem is passing over the order id, and the customer details, i cant seem to get this to work, i have looked at the existing epdq module in the contributions section, but havebt sussed it :(

i believe this is the bit of code that prepares to pass data to the cpi??

 

$process_button_string = tep_draw_hidden_field('cmd', '_xclick') .

tep_draw_hidden_field('total', number_format(($total_cost + $total_tax + $shipping_cost) * $currencies->currencies['GBP']['value'], 2)) .

tep_draw_hidden_field('returnurl', tep_href_link(FILENAME_CHECKOUT_PROCESS, $epdq_return, 'SSL')) .

tep_draw_hidden_field('cancel_return', tep_href_link(FILENAME_CHECKOUT_PAYMENT, $epdq_cancel_return, 'SSL')) .

tep_draw_hidden_field('epdqdata', $postresponse["EncryptedResult"]) . "\n" ;

 

return $process_button_string;

 

i have tried many string variations but without any luck, anyone have any suggestions, would really appreciate it

thanks in advance/

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

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

Guest
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...