We are currently building a site which used the example site as a base. The checkout process is the standard AngularJS.
We would like to integrate with SagePay using the "Form Integration", which forwards the user to Sage Pay via a POST request. From what I can tell, the payment provider system works really well with dealing with taking payments directly, but what if we aren't dealing with payments directly?
Should we register the payment as a "Card" payment (and not implement a Sage Pay payment provider) and then from the checkout, redirect the user to a page that forwards them on to pay for their order? Then confirm the paid order via a notification handler?
I have not used Sage Pay before but would certainly like to help you out. It sounds similar to PayPal.
The way these work in Merchello:
The customer selects the payment method (or if there is only one just default it to Sage Pay).
You will register an AuthorizePayment in Merchello to create the payment record and the applied payment record to associate the payment with the invoice. Next you redirect or POST to Sage Pay with whatever parameters you need and include the PaymentKey from the payment you created in the previous step (if you can't do this with Sage Pay you could use the invoice number or whatever).
Setup an HttpHandler to be the target of the return from Sage Pay. In the handler, record either a capture payment or denied =)
Hosted Payment Page
Hi,
We are currently building a site which used the example site as a base. The checkout process is the standard AngularJS.
We would like to integrate with SagePay using the "Form Integration", which forwards the user to Sage Pay via a POST request. From what I can tell, the payment provider system works really well with dealing with taking payments directly, but what if we aren't dealing with payments directly?
Should we register the payment as a "Card" payment (and not implement a Sage Pay payment provider) and then from the checkout, redirect the user to a page that forwards them on to pay for their order? Then confirm the paid order via a notification handler?
How should we approach this?
Thanks!
Craig
Hi Craig,
I have not used Sage Pay before but would certainly like to help you out. It sounds similar to PayPal.
The way these work in Merchello:
The customer selects the payment method (or if there is only one just default it to Sage Pay).
You will register an AuthorizePayment in Merchello to create the payment record and the applied payment record to associate the payment with the invoice. Next you redirect or POST to Sage Pay with whatever parameters you need and include the PaymentKey from the payment you created in the previous step (if you can't do this with Sage Pay you could use the invoice number or whatever).
Setup an HttpHandler to be the target of the return from Sage Pay. In the handler, record either a capture payment or denied =)
Thanks,
Rusty
is working on a reply...