Replies: 2 comments
-
Hi, From what I see, if you use the pricing tables flow, Stripe creates a new customer and only passes back the client-reference-id in the checkout.session.completed event. All other webhook requests will be sent using Stripes created customer id, not the one associated with your user. |
Beta Was this translation helpful? Give feedback.
-
I've done a Stripe pricing table integration like this:
Once the session is established, the pricing table is generated like this:
However in my tests, I found issues like your and also an issue where Stripe tells te customer to confirm his email address on checkout even though the customer has full access to the Stripe customer portal. It seems that the user session is indeed not getting established as intended. |
Beta Was this translation helpful? Give feedback.
-
Is there a way to make the pricing table feature of Stripe usable in Laravel?
https://stripe.com/docs/payments/checkout/pricing-table
When entering the page, the authenticated customer is created in Stripe. But when clicking on one of the displayed prices, no transmission of the customer ID takes place. And in the Stripe portal another customer is created.
There is a method https://stripe.com/docs/payments/checkout/pricing-table#customer-session.
I have tried via
and then in the JS code
After making the payment, I have a new customer in the Stripe portal. But the existing customer in Laravel Project has no subscription.
Does anyone have any idea?
Thank you very much in advance.
Sebastian
Beta Was this translation helpful? Give feedback.
All reactions