Create Customer in Stripe on Signup

I’m trying to allow users to sign up for my app with a freemium plan and then allow them to convert to a paid plan. On my signup page I’d just like to have it send the customer information to stripe to create the account, associate it to a plan, etc - but I don’t want to have the customer go through the stripe process as part of the signup, I just want it to perform some of these basic functions in the background.

Is this possible?

Yes, it’s possible with the strioe api.
I have implemented similar flows many times.
Check Stripe docs and feel free to dm me if you need help.

Good to hear. I’d like to take a stab at it first, but how exactly do I call the stripe API from Weweb?

Add the rest api plugin.

Use the rest api request action in a workflow.

Got it, thanks. Any idea how to properly pass the authentication headers? Doesn’t seem to be working.

You have headers option in weweb and one of the best documentation in the world in stripe…
I’m sure you can find how to do it with some trial and error :slight_smile:

Quick update. I was able to really easily solve this problem through Xano. I simply imported the CURL output from Stripe, it created the calls I needed to the API… Done!

1 Like

well done! It’s also better to call stripe api from your backend.

2 Likes