cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2 implement a payment integration method.

Magento 2 implement a payment integration method.

Hello, can anyone guide me how can I implement custom payment integration method in Magento 2?
I want to implement a Tiybr payment integration method.

5 REPLIES 5

Re: Magento 2 implement a payment integration method.

Hi @jhon_doe2

 

Welcome to the magento community forum.

 

Yes - you can create a custom payment method and integration with magento 2 - magento itself have article on devdocs for how to add payment method also there are some external articles which explains the actual methods how to integrate custom payment method , below i am sharing the links for the same.

 

https://devdocs.magento.com/guides/v2.2/howdoi/checkout/checkout_payment.html

 

https://devdocs.magento.com/guides/v2.2/payments-integrations/base-integration/integration-intro.htm...

 

https://www.classyllama.com/blog/how-to-create-payment-method-magento-2

 

https://www.mageplaza.com/devdocs/magento-2-create-payment-method/

 

Refer the articles based on that create a custom module and implement it for the same.

 

Hope it helps !

if issue solved,Click Kudos & Accept as Solution

Re: Magento 2 implement a payment integration method.

I have documentation of tiybr payment integration method so where I can add those API to connect payment method with tiybr, please help

Re: Magento 2 implement a payment integration method.

Hi @jhon_doe2

 

Yes , I understand and that's the reason i have posted this link - https://www.classyllama.com/blog/how-to-create-payment-method-magento-2

 

Here you need to create a custom module first and then based on your tiybr API - you need to call those API in Model file of custom module.

 

So create a custom module based on the above link and then one by one calls the API in model file - they have also showcased example API calls.

 

Hope it helps

if issue solved,Click Kudos & Accept as Solution

Re: Magento 2 implement a payment integration method.

Yes basically I have a code of PHP API so need to integrate into that module.

Re: Magento 2 implement a payment integration method.

Yes i understand your requirement ..

that's the reason i post above link where they are creating a custom payment method module and implementing API as well..

so go with that - it will Helps you
if issue solved,Click Kudos & Accept as Solution