Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Michelle Topp 33 posts 143 karma points
    May 11, 2016 @ 16:03
    Michelle Topp
    0

    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

  • Rusty Swayne 1655 posts 4993 karma points c-trib
    May 12, 2016 @ 14:20
    Rusty Swayne
    0

    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.

Please Sign in or register to post replies

Write your reply to:

Draft