[New Plugin] PayPal Recurring Payments

Hi everyone,

I have published a plugin that lets you integrate PayPal recurring payments in your Bubble app!

PayPal unfortunately doesn’t offer a dashboard like Stripe does, therefore you use the dashboard that I build for SubSocket.io to create and manage the PayPal products & plans to be used to setup the subscriptions. No worries, SubSocket is 100% free for this use-case and it allows us to speed up the process immensely! (I will share more details about SubSocket soon)

:arrow_right: Step-by-step documentation: https://bubble-docs.subsocket.io
:arrow_right: Plugin page: PayPal Payments By SubSocket Plugin | Bubble

Do you have any questions or feature requests? You can reach out to me via the forum or you can send me an email :slight_smile:

3 Likes

Amazing, I believe you found a gap in the market. Managing PayPal like Stripe is a killer combination. You amaze me Thimo :star_struck:

@Thimo Perhaps any chance you can publish your landing page as a template? I really like it.

1 Like

Thanks! I will look into the possibility of creating a template of the landing page :slight_smile:

1 Like

@Thimo
Can this plugin(or your service) be used with a marketplace?
For example, if I have a marketplace and Mr.A is a seller.
When Mr.A made a sale and I receive a % of that sale?

@nimmarn.c This plugin is for subscriptions only, not marketplaces at this time. Creating a marketplace integration with PayPal requires you to signup as a partner and is therefore not accessible to a lot of people. If this gets accessible I will definitely look into implementing it! :slight_smile:

2 Likes

@Thimo

Hey Thimo, I like your subsocket landing page a lot too. Any update/timeline on this?
I was looking for this template and found a similar template (from you) but that one is from 2019:

I would prefer the one you use for subsocket obviously. Any chance you would upgrade this template in case you publish the subsocket landing page?

P.S. will look into using your PP plugin at some point as an alternative to stripe

Hey @Thimo, this looks epic!

I’ve taken a look around the demo environments backend and have some questions. Can you provide some guidance around the following for me:

1. Can you customise the Paypal subscription button to match the website style? Ideally I’d like to be able to customise the button to match my site, then provide a “powered by Paypal” label under it

2. How would you suggest the workflow functions for checking that a user has an active subscription on login? Granted you can check through your provided workflow action which works when you’ve cancelled the subscription using your “Cancel” button, but does this work the same way if a user cancels via their own Paypal dashboard? In this event how do I ensure that cancelled users do not continue to have access past the next (would be) billing date?

3. During the checkout process does PayPal request the users address? If so, is this viewable in SubSocket for accounting purposes?

4. You mention SubSocket is free for this use case (which is great). Is it likely to stay this way in the future? Building a payment flow based on your tool to then have a key component change like that would be a bit of a kicker.

5. Currently the PayPal checkout launches in a new window. Is it possible to create an embedded checkout?

Thanks in advance as always :slight_smile:
Mike

3 Likes

Hi @Thimo
Is there a way to avoid the “Do you want leave the site?” dialog when you try to suscribe to a plan? :pray:

4 Likes

I’d also like answers to these @Thimo, thanks! Especially #2.

I really like the floating elements like the paypal button that moves up and down slightly…could you share the basic idea of how you accomplished that? Was it CSS or did you need some other code as well?

I decided on a workaround for number 2.

Using the horrible PayPal API docs I built a webhook to listen for when a subscription is cancelled by the user.

The webhook then let’s me know the subscription ID which I can search for to find the user in my DB and update their subscription status.

I am a total noob when it comes to all this, but with some patience I managed to get it working in DEV at least - yet to move it to Live, but might be worth a look :+1:t2:

1 Like

Makes sense- so you’re hosting some sort of microservice outside of Bubble that listens for when a subscription is cancelled? Could you please elaborate exactly how you built this? Much appreciated!

It is CSS only! I once tweeted about this, you can see it here: https://twitter.com/thmawa/status/1344060490666930177

SubSocket unfortunately can’t yet listen for subscriptions that get cancelled from the PayPal dashboard as you have to manually specify the webhook URL in the PayPal developer dashboard for each application. But because SubSocket is built upon PayPal you can always create your own webhooks to listen for events like this! :slight_smile:

Awesome…thanks for sharing that…I got it to work!

I’ll shout out to you for this when I make a youtube video on the subject. I’ve been making a bunch of things related to design using CSS and I’m excited about this.

1 Like

Not a microservice exactly, a webhook that is setup between PayPal and Bubble. This means that when a customer cancels through their PayPal account, Paypal lets my bubble app know and I can then update my users status in my database.

I’d suggest taking a look through the PayPal API documentation for Webhooks. It feels like a lot at first but if I can do it, anyone can.

I’d also recommend looking through Bubble documentation and YouTube for videos on webhooks. YouTube and the forum have been lifesavers for me :slight_smile:

The Webhook in Bubble is setup as a Backend Workflow :+1: