Jump to content

validateOrder triggered two times from callback


jedi1983

Recommended Posts

Hi Guys,

Right now we are having some issues with our Payment Provider, they have a callback to create order (from Cart -> order), but seems at some random time, those order creation (using validateOrder methods on paymentModule) created 2 times, so we have 2 orders with the same cart id and different reference number.

i put logs on the paymentModule.php and seems the order creation is at the same exact time.

do anyone experienced this issue before, and is there any workaround for this kind of issue?.

thank you guys!.

Link to comment
Share on other sites

4 minutes ago, Guest said:

I do not understand.
Do you use any module for the payment of an external payment method?

Yes we have use External Payment Method, this payment method have a validation.php file (which use validateOrder to create order from Cart) and it seems those functionality get called twice at the same time, logs of server showed only 1 called though that's why it's puzzled me

Link to comment
Share on other sites

  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...