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

fpz.wilson's avatar

How to integrate paypal recurring payments with laravel user system?

Hi,

Could someone teach me how to implement a monthly payments via paypal in a normal laravel site? I had add a paypal subscription button in my billing blade view. But I did not know what to do next? Such as verifying the payments, and check every month to active the user`s privilege. Thanks

0 likes
7 replies
MikeHopley's avatar

Right now, Paypal are making huge changes to their systems. All the old systems like "express checkout" and "website payments standard" are still maintained. They are now calling these the "classic APIs".

They are developing a new REST API with implementations in PHP and many other languages. Last time I checked (the end of last year), the REST API was not quite ready for subscriptions, but was getting very close.

The classic APIs were really nasty to develop with. The REST API is vastly better. It's not as elegant as Stripe, but it's shaping up to be a much better system than the old ones.

If you can afford to wait a little, you may be better off using the REST API. That's what I'm doing: only Stripe for now, Paypal later.

2 likes
usamamashkoor's avatar

@MikeHopley i am trying to implement monthly subscription payments using payapl rest api also trying to find some good tutorial but could not find it and also have tried to explore the paypal api but api is so complex unlike the stripe api which is very simple and easy to implement.

So @MikeHopley can you please guide me a little bit how can i implement the monthly subcription using paypal api for example in stripe i can achive it using like these steps 1)Create a plan 2)Create customer 3)then assign the plan to the customer to assign to subscribe to monthly subscription.

thanks.

1 like
MikeHopley's avatar

@usamamashkoor

I wish I could help, but I never finished my implementation.

You will need to read the documentation. The Paypal PHP SDK comes with a sample app that you can look at.

My impression is that the REST API (or its PHP implementation) is still a bit buggy in places, with some hacks / workarounds needed to get basic things working. With Paypal, it was ever thus. :-(

Your other option is to try using Braintree, which has Paypal integration.

Please or to participate in this conversation.