I'm using a third party payment gateway that I forward the user to after checking out so that he can enter his credit card info. The gateway then later provides a callback to our server regarding the status of the payment.

What do I need to set the payment method as, in the order? setPaymentMethod('......');

Is there a default one for such a scenario? Or do I need to make my own, custom payment method?

2 Answers 2


Magento provides PayPal, Authorize.net by default. But, if you want to use any other third-party Payment method, then you need to use a separate module for Sure!

  • I see. Yes, I need to use another third party one. Any good tutorials on how to do it?
    – Pat
    Jul 27, 2015 at 7:14
  • No exact tutorial is available, but you need to have api from Payment Method provider and credentials. You need to redirect the customer at Payment method providers page after they select your custom payment method. Jul 27, 2015 at 8:17

Magento provides payment integration with PayPal, Braintree, and Authorize.Net payment service providers. But for your case, as you need a third party integration that handles credit card payment, you surely have to create custom module i.e separate module surely.

And Magento's recommendation is to create integration with other payment providers, using Magento payment provider gateway.

For more details, you can find this Magento Documentation.

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.