#vuong

1 messages · Page 1 of 1 (latest)

lost stumpBOT
pseudo sparrow
#

Hi, what do you mean by signing in process

alpine tiger
#

sorry, my mistake. Actually sign up process.

#

In our app, the user need to be sign up, and we create the stripe customer id and subscribe a plan in the backend.

pseudo sparrow
#

Yeah that sounds good so far

alpine tiger
#

We want to replace the process with Stripe pricing table.

#

But I am still confused how to implement it.

pseudo sparrow
alpine tiger
#

For example, if Stripe uses this prcing table, if I as a customer subscribe for a plan, how can Stripe track me?

#

And after completing the subscription process, how can I log in Stripe for using your services?

#

I haven't completed the sign up process, right? No username, no password with the pricing table.

pseudo sparrow
#

Sorry your question is a bit confusing. Let's say there is a customer A

#

There could be 2 path: Customer see your Pricing Table before signing up, or after signing up

#

Either way, after they complete the Subscription process via Pricing Table, you will receive webhook event, which you can use to sign your customer up in your system

alpine tiger
#

Yes, let's imagine Stripe.com using the pricing table to allow the customer to subscribe for some plans.

#

If the customer see the Pricing table before signing up, there is a chance they can create a new subscription every time.

#

After receiving the webhook, the only relevant field to create a user in our system is the email address. Or we will need to send a sign up link to the customer via email and asking them for completing the signing up process.

pseudo sparrow
#

That's... entirely up to you. Yes that works, or you can completely hide the Pricing Table before signup

#

But yes if you display Pricing Table to un-signed in customer, there is chance you will have guest subscriptions

alpine tiger
#

Yes, the second solution is that I can ask the user to sign up first, then using the user_id as client_reference_id

#

The user still has to enter the email address in Stripe pricing table.

#

After subscribing for a plan, I can redirect the user to the dashboard in my app.

#

Now the user has subscribed for a plan, the pricing table should be hidden, right?

#

Where can I get the component to Update plan or cancel plan?

#

Or how can the authenticated user change their subscription plan?

pseudo sparrow
#

Hiding or showing the pricing table is up to you, on the embeded code AFAICT

#

If you want your customer to change plan, you can present them the Customer Portal

#

with the option to change plan

lost stumpBOT