Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

tbcrew's avatar

Add New Payment Method in Spark

How can i add some other payment Gateways in Spark? Like Paypal or EasyPay etc .. Or we just have to stick with Stripe & Braintree?

0 likes
22 replies
tbcrew's avatar

Or Can we use any other Payment way? Like there's one named EasyPay in my region, can it be done with Spark? or it just restrict us to use the built-in methods so far ?

michaeldyrynda's avatar

I would imagine you can add whatever payment functionality you want, you'd just need to implement the appropriate payment interfaces. This was the case with earlier beta versions from memory.

devchops's avatar

@jekinney - Whilst one can accept paypal using braintree, their service (like stripe) is only available in select countries: https://www.braintreepayments.com/country-selection https://stripe.com/global

I suspect @tbcrew is referring to www.easypay.co.za. In South Africa, neither Braintree nor Stripe are supported, so it would be great to have a way to extend Spark with other payment processors.

Im also in the same boat as OP - I'd love to use Spark for my project but cannot sign up for either payment gateway.

1 like
devchops's avatar

@deringer If we are able to add our own payment interface, then that would be awesome indeed.

I've scoured the documentation and checked the tweets from @TaylorOtwell, but there is no mention of this. Without access to the source code, it is difficult to gauge if this is even possible (without breaking things).

tbcrew's avatar

@devchops exactly my question, if we could add our own or do we have to stick with those two came with the box.!

michaeldyrynda's avatar

I'm certain, though don't have access to Spark, that it's using the new version of Cashier - so implementing your own gateway wouldn't be entirely different to either of those two implementations

devchops's avatar

I've not had an opportunity to look into this deeply, but if we would need to add another gateway, it would have to support an API for recurring payments (subscriptions) just like Stripe & BrainTree.

If the payment gateway you intend to integrate does not expose an API for subscriptions, it may be a lot more difficult to implement. I might look into integrating spark with a service like snapbill.com - which would handle the payments from multiple gateways. This will bring an additional monthly cost though...

angelttta's avatar

Same here in LATAM :( I would love to hear from any Latin fellows regarding this

1 like
kobold's avatar

I second, LATAM has no available paying methods. We need at least paypal directly..

1 like
christopher's avatar

You may have a look at mollie which supports several payment methods and recurring payments. Paymill would also be an Option.

1 like
afternoon's avatar

I am very interested in an extensible payment system. If the API would be provided, we would be adding out payment system on our own.

plazari96's avatar

Hello Guys?

Some news about Spark using other payment methods?

stefr's avatar

In Europe not everyone has a credit card. Going for a a Stripe or Braintree solution won't do it for us (unfortunately). I'm curious if it would be possible to extend spark with mollie.com There is a great laravel wrapper for mollie (https://github.com/mollie/laravel-mollie) that I've used in a laravel app before. I'm not sure if spark is build entirely around Stripe/Braintree. In that case it would be difficult.

emozio's avatar

Fellow dutchman @stefr, I was just wondering the same thing. I'm thinking of purchasing Spark, but before I do, I need to know if I can easily integrate other payment services, in particular Mollie.

thusfar's avatar

@marknuyens Yes, it is possible to integrate other payment gateways with Spark. I've done it myself (2Checkout and Paymill).

They don't come right out of the box with Spark, but if you have any knowledge of Laravel and PHP it shouldn't be an issue.

Also, you would have to modify VueJS code a little bit.

Regards

2 likes
Pendo's avatar

Stripe is now supported in the Netherlands, however I've found out Spark is build for just credit card support so it would need some editting to get it running. Stripe offers recurring payments via bank accounts now (as does Mollie by the way). Not sure when, but I'm going to see what the best way is to get a payment method for the Dutch market connected.

emozio's avatar

@Pendo & @thusfar I am very curious what you've learned in the meantime. I also noticed Stripe is now available in my country, the Netherlands. However, I would prefer to use Mollie for administration reasons. Has anyone figured out a (simple) way to add this payment method to the defaults, Stripe and BrainTree?

Thanks a lot guys.

emabusi's avatar

I have just gone through this thread and I still dont have a clear answer, Does spark support PayPal or not?

As for my situation here in East Africa - paypal as payment method is the best option that allows me to withdraw to bank.

emozio's avatar

@emabusi Spark offers Braintree and Stripe as integrated payment services. I believe only Braintree supports PayPal at the time of this writing.

doors.jm's avatar

@thusfar Could you give some insight into what you did to get another payment gateway to work in Spark? What files you might have to modify and any changes to the database.

Please or to participate in this conversation.