Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

interesting Barclays EPDQ problem


nikemir

Recommended Posts

Hello everyone :rolleyes: ,

 

I have installed epdq cpi 1.8 on a rc1 store. Currently testing on a epdq mde test store. The problem is very interesting though.

 

Upon reaching checkout_confirmation.php an order id: 4 is created in the tables (pending).

 

If I click 'continue':

- order id: 0 (in the mails)

- go through epdq secure page

- order id: 480e4af6-d8b2-3000-0003-0003ba4e0cea (in the mails, upon submission of payment)

- UPDATE orders SET orders_status = '107', last_modified = NOW() WHERE orders_id = '480' (in the mail)

 

order id: 4 -- pending

 

However, If I RELOAD the page (checkout_confirmation.php) and click 'continue' this happens:

- order id: 5 created

- order id: 5 (in the mails) perfect!

- go through epdq secure page

- order id: 5 (in the mails, upon submission of payment) perfect!

- UPDATE orders SET orders_status = '107', last_modified = NOW() WHERE orders_id = '5' (in the mail) perfect!

 

but I end up with two duplicate orders:

order id: 4 -- pending

order id: 5 -- epdq payment success

 

This thing that puzzled me is that I have echoed the $cart_ePDQ_temp_id and it is empty on both occasions! Only after the RELOAD it shows 28620-5, which allows order id: 5 to be successfully processed. Order id: 4 just stays there as pending.

 

I hope it not too confusing for you.

 

Some help would be very appreciated.

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.
Note: Your post will require moderator approval before it will be visible.

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