cancel
Showing results for 
Search instead for 
Did you mean: 

Integrate 3rd party payment url in magento 2 checkout page

Highlighted

Integrate 3rd party payment url in magento 2 checkout page

How can I set a redirect 3rd party url when user click on place order button.

Basically What I need is below:

01. user click on place button.

02. in the background a post method will fire to a 3rd part url link

03. the link response me a token id.

04. next it will again call that 3rd party url with that token and  order amount data and some credentials like (username, marchant Id, etc)

05. from that response it'll response back a data, from which i'll have to build a payment gateway url and then it'll redirect user in that url which is a bank payment page.

06. then user input their card info and pay using that page. 

07. after that, it;ll redirect user to magento 2 success page.

 

how can I do that? any help plz. I'm new to magento.

2 REPLIES 2
Highlighted

Re: Integrate 3rd party payment url in magento 2 checkout page

Hello @bbbmishucs

 

You simply want to create new redirect payment gateway extension,

You can try following 

https://magecomp.com/blog/create-custom-payment-method-in-magento-2/

http://www.silksoftware.com/magento-module-creator/magento2-module-creator.php

Found something useful, "Kudos" and "Accept as Solution" for Token of Appreciation.

Magento Tutorials

Re: Integrate 3rd party payment url in magento 2 checkout page

hi

i have same problem, now i was created payment gateway with redirect page. but i got stuck on REST API page Magento 2, after take and handle response payment provider. are you got that problem to?