#Surya-Mani
1 messages · Page 1 of 1 (latest)
@lime trout we've already replied to you multiple times regarding this topic.
What is not clear yet in your question? You are asking the same general question multiple times.
I do that but i got error here is the code
any mistakes i do in this code please get to my knowledge
What error you are facing ?
Could you please share the error stacktrace or the failure requestId?
https://support.stripe.com/questions/finding-the-id-for-an-api-request
That Error isn't a Stripe APi expection, Your endpoint replied with 500
You need to debug your endpoint and see what error was thrown
Try to check all the stacktrace and see if you can found a requestId
ok thank you
Hi 👋 you've commented out the line that passes the customer parameter to the request. customer is a required parameter when creating a Customer Portal session, it can't be omitted as the portal session needs to know what Customer it's being created for.
https://stripe.com/docs/api/customer_portal/sessions/create#create_portal_session-customer