New Zenner
- Join Date:
- Mar 2016
- Location:
- India
- Posts:
- 6
- Plugin Contributions:
- 0
Create order before redirecting to payment gateway site for Hosted Payment Page payme
Hi All,
I have to create the order before redirecting to the payment gateway sit in my payment method(my custom payment method).
Process is like this :
- First create order with pending status.
- Redirect to payment gateway sit
- Do payment here is two case
3a) If customer is not redirecting back to site then as per zencart flow order will not get created and make customer unsatisfied.
3b) To use callback functionality to check payment transaction id, and update order status.
For this i am creating an order with pending status, but when customer have done payment and redirecting back to site then another order is creating with new order id.
So how i do this ?
Thanks,