I've started the process of building a plugin, I've not got it so I can add it and the values needed within Merchello.
What I'm now working on is the process from clicking on the make payment button on the CheckoutConfirmationForm view and where best to do the redirect as well as what steps I need to take before and after. I'm planning to have worldpay head back to the reciept page within Bazaar (have built a custom shop from the source code).
Or would it be better to have it come back to the Checkoutconfirm page and run some tests to see if payment successfull before then going to the receipt page??
I've read this : enter link description here but some of the code is obsolete (SalesPreparation() etc). Currently there isn't any info on how to build a worldpay integration, so any advice is once again much appreciated!
Handling the errors after the redirection on the originating checkout page is most easily handled by initiating the process via AJAX to a controller, and then after the response back to from, in your case WorldPay, return either a JSON object or an HttpResponseMessage to your calling script.
Worldpay plugin integration - Redirect to gateway
Hi,
I've started the process of building a plugin, I've not got it so I can add it and the values needed within Merchello.
What I'm now working on is the process from clicking on the make payment button on the CheckoutConfirmationForm view and where best to do the redirect as well as what steps I need to take before and after. I'm planning to have worldpay head back to the reciept page within Bazaar (have built a custom shop from the source code).
Or would it be better to have it come back to the Checkoutconfirm page and run some tests to see if payment successfull before then going to the receipt page??
I've read this : enter link description here but some of the code is obsolete (SalesPreparation() etc). Currently there isn't any info on how to build a worldpay integration, so any advice is once again much appreciated!
regards, Michelle
Hey Michelle,
I've been working on a plugin for PayPal Express which I expect works in a similar way. https://github.com/Merchello/Merchello/tree/merchello-dev/src/Merchello.Providers/Payment/PayPal
Handling the errors after the redirection on the originating checkout page is most easily handled by initiating the process via AJAX to a controller, and then after the response back to from, in your case WorldPay, return either a JSON object or an HttpResponseMessage to your calling script.
is working on a reply...