cancel
Showing results for 
Search instead for 
Did you mean: 

How to add a Pay in Person Payment Method

How to add a Pay in Person Payment Method

How do we implement a logic in the new payment gateway api where a user will be given qr code (handled by an api call) and use that qr code to pay in person through the post office?

 

We have an external api that processes the payments for the store so all we need to access from the checkout are the email address of the store, total price amount. We've tried to follow the devdocs and the sample payment gateway module but to be honest I'm not really sure what's going on.

 

Can someone enlighten me on this concept.

2 REPLIES 2

Re: How to add a Pay in Person Payment Method

Hey,

 

You can do like create one payment method.

 

After order place, admin will click on button you will call API and add that barcode into that order.

 

hope it will work for you.


Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer

Re: How to add a Pay in Person Payment Method

Hi there,


The following article could be useful to clarify the concepts of payment methods in Magento 2:
http://inchoo.net/magento-2/implementing-payment-gateway-magento-2/

 

Best regards.

Gabriel

Welcome to the Magento Forums. Remember to introduce yourself and read the Magento Forums Guidelines.