How to add more payment gateways to Wave?

jatinsoni

Mar 3rd, 2021 12:37 AM

Wave supports Stripe and Braintree payment gateways out of the box. I couldn't find any document that shows how can we add another payment gateway. Can anyone please help me for it?

bobbyiliev

Mar 3rd, 2021 12:47 AM

Hi there 👋,

The new version of Wave will support Paddle as well. It will be out soon, but we don’t have an exact ETA.

What payment method are you planning to integrate?

Regards, Bobby

jatinsoni

Mar 3rd, 2021 01:07 AM

I am planning to implement Razorpay API. It is an Indian payment gateway. https://razorpay.com/docs/api/

RazorPay accepts Rupay (India), Master, Visa cards. As well as UPI (India) and other Indian payment channels.

Not to be so demanding but If also possible, I may would need to implement UPI.

https://blog.cashfree.com/upi-integration/ https://developers.google.com/pay/india/api/web/intro

I understand, adding support for all payment gateway is impossible. So if I can get any document or guide so I can try to implement myself.

bobbyiliev

Mar 7th, 2021 11:38 PM

Hi there,

Indeed, as of the time being there are no plans to add RazorPay as an official payment gateway for Wave.

As far as I can see there are some PHP packages already available which you could use:

https://packagist.org/packages/razorpay/razorpay

You can find the payment controller at:

wave/src/Http/Controllers/SubscriptionController.php

In there you can change the current payment implementation to the one that you are planning to use.

Regards, Bobby

jatinsoni

Mar 8th, 2021 02:21 AM

@bobbyiliev Thanks for the details. Appreciate.

jackyjoy826

Mar 9th, 2021 06:01 AM

Thanks my issue has been fixed.

jatinsoni

Mar 10th, 2021 06:33 AM

@jackyjoy826 Are you integrating additional payment gateway too?