1. Redirect to Payment Gateway and process payment
  2. Return Back to store success page

Any help will be appreciated. I have followed the Inchoo implementing a payment gateway tutorial But no luck.


1 Answer 1


The common tutorial for adding custom payment integration is still in process, but you can use sample-module-payment-gateway as an example.

Also, the off dev doc describes how to add a custom payment to the checkout page.

And a new implementation of the Braintree payment method is a good example of best practices for payment integrations.

UPD: Magento team has published payments methods documentation.

  • Hi Joni, Can you please share idea how to redirect to payment gateway? Commented Jun 16, 2016 at 13:04
  • 1
    Depends on your integration, it can be simple redirect from browser or post redirect (like submit hidden form)
    – joni jones
    Commented Jun 16, 2016 at 14:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.