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

richard's avatar

Alternative to Stripe

I have this feature on my app where I am supposed to bill users. I have tried everything with Laravel Cashier and everythings works fine.

However Stripe is not supported in my country (Kenya) :(

Is there an alternative library I can simply pull to help me sort this issue?

Please help.

0 likes
24 replies
alenn's avatar

You can use Paypal API there is lot of Laravel packages for that

christopher's avatar

The question would be: Why do you want another payment provider with ecurring payments? Stripe handles all the annoying stuff for you and is build in right into laravel.

Is there any specific reason why you wont use stripe?

richard's avatar

@christopher Everything works well in Stripe in test mode. Switching to live version means that I have to activate my account but putting my address and card details. In the list of countries provided in the registration form, Kenya ain't among them. So technically, I cannot use it.

Baadier's avatar

@richard I'm tagging along here because I'm trying to figure out a solution for recurring billing in South Africa.

1 like
richard's avatar

@Baadier Man, these package developers need to understand that Africa has been left behind greatly and we need to be considered us too.

Baadier's avatar

Tell me about it @richard

I really wish we were able to use cashier.

It would have made our lives so much easier.

1 like
richard's avatar

@Baadier I have ended up building my own wrapper to handle subscription using Safaricom's MPESA.

Baadier's avatar

I'm going to get my hands sorry too it seems.

Baadier's avatar

It doesn't seem to have any support in Africa.

MladenJanjetovic's avatar

@Baadier - Did you find something like stripe in South Africa. I have one project for South Africa and Zimbabwe, and don't have a clue what to use

1 like
Baadier's avatar

@Youndivian Unfortunately not. Its unbelievably frustrating. You could try Stripe Atlas ie incorporate in the states but that brings with it its own set of issues.

In honesty, my side projects have taken a backseat for a while as I'm busy with other projects but I was planning on investigating the Braintree path properly.

Let me know if you come right?

MladenJanjetovic's avatar

@Baddier I will probably go with https://www.payfast.co.za/

Pros:

  • paynow button like paypal as far as I can see
  • you get form html from the API and customize it on front
  • form is sent to their server and you define return url for payment results. So you don't get involved in payment process
  • documentation looks nice, and there is several laravel libraries for it

If someone have some experience with them, I would be very thankful to hear.

Baadier's avatar

@Youndivian I was thinking of the same thing as a last resort for international and probably the main option if I did something local.

I've purchased a Spark license so I wanted to use something that was supported as a best case scenario.

I spotted this integration though https://packagist.org/packages/billowapp/payfast

On an aside, I think Payfast has a number of WordPress ecommerce plugin integrations which you could skim through to get an idea along with Laravel Cashier to see which methods and so on you would need.

Just my 2 cents.

Let me know how you get on.

Steve777's avatar

@Baadier - You might want to check out Cardinity (https://cardinity.com/), I'm not exactly sure whether they support South Africa specifically, but it works in my country, where Stripe isn't supported as well. Also, based on my little research they offer pretty good rates per transaction. Hope this helps.

WebKenth's avatar

Have you tried registering with another country and testing if the code works? XD can't think of a good reason why you can't make an online payment from anywhere in the world.

MladenJanjetovic's avatar

@WebKenth As I remember, you can fake all the data when creating account, but you will get stuck with your bank account in your real country and you must have foreign cell phone also.

WebKenth's avatar

@Youndivian ahh didn't think that far :P i was only concerned with how users would use your service, and as far as i know it doesn't matter if i go to a website through South Africa or through England i would still be able to purchase through the Stripe as long as i use a payment method they support.

So a workaround would be to create an off-shore account?

MladenJanjetovic's avatar

@WebKenth Exactly! So tell that to client and good luck with that :D Here in Serbia we have some ridiculous regulations with that foreign bank accounts and stuff. I guess it's the main reason we still don't have Stripe here. Lots of countries have the same issue.

Please or to participate in this conversation.