#drakhaon
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- drakhaon, 1 day ago, 20 messages
I followed this page for the integration: https://stripe.com/docs/customer-management/integrate-customer-portal#redirect
That param defaults to hosted https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-ui_mode
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Also you are using a completely different API cal than what is in that doc
You are creating a Checkout Session, this is a billing portal session
I have followed your own documentation
This code talks about the portal session but in fact it's a checkout session that is created ?
Oh okay I think I found the error.. you have two model Session one for billing portal, the other for checkout inside your SDK
In the example, there was no import I didn't see it was a different package than the checkout