Posted on 30/09/2021 14:53:19
Hi all,
Following the Jeppe steps i could not reproduce the bug.
I found that this problem is only happening with a custom credit card payment.
The operating flow of this TPV is that, when the user completes the payment with the credit card the TPV respond to the web by POST request.
Next the user can return to the website or close the window.
Because of that, our CheckoutHandler only generates the request to the tpv and redirect to the website in case of success or not. So i think this is not the problem.
This request contains the information of the transaction , if the paymment was success or not.
When the request is success the order is completed using this dynamicweb functions (i think this is the origin of the problem):
we have to update the orderId because when i call the updatecartToOrder function the original orderid changes.
Its weird because most of the times everything works fine.
Regards,
Jose