How to add more payment gateways to Wave?

jatinsoni

March 3, 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?

Select One:
bobbyiliev

March 3, 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

Select One:
jatinsoni

March 3, 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.

Select One:
bobbyiliev

March 7, 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

Select One:
jatinsoni

March 8, 02:21 AM

@bobbyiliev Thanks for the details. Appreciate.

Select One:
jackyjoy826

March 9, 06:01 AM

Thanks my issue has been fixed.

Select One:
jatinsoni

March 10, 06:33 AM

@jackyjoy826 Are you integrating additional payment gateway too?

Select One:
Write
Preview
Help

Markdown Basics

DevDojo uses Markdown syntax for writing posts, commments, and other content throughout the site. Below you will find some commonly used markdown syntax. For a deeper dive in Markdown check out this Cheat Sheet


Bold & Italic

Italics *asterisks*

Bold **double asterisks**


Code

Inline Code `backtick`

Code Block

```
Three back ticks and then enter your code blocks here.
```

Headers

# This is Heading 1
## This is Heading 2
### This is Heading 3
#### This is Heading 4
##### This is Heading 5

Here is an example of how each heading will looks

Heading 1

Heading 2

Heading 3

Heading 4
Heading 5

Quotes

> type a greater than sign and start typing your quote.

Links

You can add links by typing the alt text inside of [] and the link inside of (), like so:

[links](https://devdojo.com)

Images

You can add images by selecting the image icon, which will upload and add an image to the editor, or you can manually add the image by adding an exclamation !, followed by the alt text inside of [], and the link inside of (), like so:

![alt text for image](https://cdn.devdojo.com/images/image.png)

Embedding Codepens

You can also embed a codepen pen by writing the following:

{% codepen https://codepen.io/your/pen/url %}

You may also choose the default tabs you wish to show your pen by writing the default-tab like so: (default is result)

{% codepen https://codepen.io/your/pen/url default-tab=result,html %}


Embedding YouTube Videos

You can also embed a YouTube video by writing the following:

{% youtube VIDEO_ID_HERE %}


Embedding Katacoda Terminal

You can also embed a Katacoda Terminal by writing the following:

{% katacoda %}

You may also choose if the terminal should float at the bottom of the page or be embeded in the post itself by writing float like so:

{% katacoda float %}


Embedding Asciinema

You can also embed an Asciinema video by writing the following:

{% asciinema YOUR_VIDEO_ID %}

You may also choose if the video should be added as an alternate rel tag, so it could later on be played with the `asciinema play https://devdojo/post-name` command, with the rel argument like so:

{% asciinema YOUR_VIDEO_ID rel %}


Embedding Gists

You can also embed a Gists by writing the following:

{% gist GIST_ID_HERE %}


Embedding buymeacoffee.com

You can also embed your "Buy me a coffee" button by writing the following:

{% buymeacoffee BUY_ME_A_COFFEE_USERNAME_HERE %}


Embedding CodeSandbox

You can also embed CodeSandbox by writing the following:

{% codesandbox YOUR_CODESANDBOX_EMBED_URL %}

Example:

{% codesandbox https://codesandbox.io/embed/rough-field-mykn0?fontsize=14&hidenavigation=1&theme=dark %}


That's about it. It's time to start crafting your story.

Please login, or signup to write a response.

Back to DevDojo