#giga5925
1 messages · Page 1 of 1 (latest)
You may set client_reference_id with your own user ID when creating the pricing table, so that you can check whether the user is authorised or unauthorised at your end when the customer subscribes: https://stripe.com/docs/payments/checkout/pricing-table#handle-fulfillment-with-the-stripe-api
Yes I saw that, but my requirement is that, I don't want them to redirect on checkout page at all before authorising.
I'm afraid that will not be possible. You should check whether the user is authroised first, then displaying the pricing table accordingly, i.e. only authorised user is able to see the pricing table and subscribes to it
If I redirect unauthorised user on checkout page, after sucessfull payment is it possible to somehow get user information like, email and name on card when user redirects back to my page? As I checked it's not possible but let me double check before we end conversation
You should be able to get user information from checkout.session.completed event
Oh Thank you, I just checked and can get those information. So I can create user with this email and send them invitation email if user doesn't exist