jedi1983 Posted December 3, 2020 Share Posted December 3, 2020 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 More sharing options...
Guest Posted December 3, 2020 Share Posted December 3, 2020 I do not understand. Do you use any module for the payment of an external payment method? Link to comment Share on other sites More sharing options...
jedi1983 Posted December 3, 2020 Author Share Posted December 3, 2020 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 More sharing options...
Guest Posted December 3, 2020 Share Posted December 3, 2020 What exact version of Prestashop do you have, please? Link to comment Share on other sites More sharing options...
Guest Posted December 3, 2020 Share Posted December 3, 2020 Disable smarty cache Advanced Settings -> Performance -> Smarty -> Cache -> No Link to comment Share on other sites More sharing options...
Guest Posted December 3, 2020 Share Posted December 3, 2020 Please also write the name of the payment module. Link to comment Share on other sites More sharing options...
jedi1983 Posted December 22, 2020 Author Share Posted December 22, 2020 On 12/4/2020 at 1:12 AM, 4you.software said: Please also write the name of the payment module. hello sorry i just read this one, Actually we are using Prestashop 1.7.4.0 and module payment is custom made by Razer Payment System. Link to comment Share on other sites More sharing options...
jedi1983 Posted December 22, 2020 Author Share Posted December 22, 2020 On 12/4/2020 at 1:09 AM, 4you.software said: Disable smarty cache Advanced Settings -> Performance -> Smarty -> Cache -> No what is the result of we stop the Smarty Cache?, will this make our response time slower? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now