Closed blockonomics closed 4 years ago
Im lost please help me u can call me. Please give me a call 9728259305
On Oct 28, 2017 1:10 AM, "shivaenigma" notifications@github.com wrote:
- Order cannot be deleted while shopping cart can be deleted
- Retain cart and convert only to order when payment is done
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/blockonomics/prestashop-plugin/issues/27#issuecomment-340142234, or mute the thread https://github.com/notifications/unsubscribe-auth/Adv0HVKnNPM0d7bRH4ZTTWv8FnWs6aUOks5swsVvgaJpZM4O4b74 .
Check how other payment methods are working
Info on possible solutions
Good insights from Paul C: https://www.prestashop.com/forums/topic/5329-how-does-paymentprovider-validateorder-work/
Only run validateOrder from callback.php: https://stackoverflow.com/questions/31827422/issue-with-creating-an-intermediate-pending-order/31913505
Duplicate the cart before validateOrder called: https://www.knowband.com/blog/prestashop-tutorials/copy-cart-another-cart-order-change-id_cart/ https://stackoverflow.com/questions/41170756/how-to-call-function-after-payment-in-prestashop
A minor issue is that the duplicate cart is shown . For some customer it is a popup and can be annoying