hello I made a plugin which follows that scenario :
- 1-client send data to payment gateway
- 2- gateway responses with url
- 3- client get redirected to that url
- 4- after payment server sends req with status to a webhook inside my plugin
- 5- my hook updates order status in admin
- and this last thing I can’t do : my hook empties the cart of the client
I tried alot and I dicovered the main problem , it is in sessions it can’t get session to get cart
thanks in advance!
I tried to follow problem and found it is in sessions so we need a way to resolve it or find a new method to get cart and empty it
New contributor
muhammed Amr is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.