#j_r_e
1 messages ยท Page 1 of 1 (latest)
๐ happy to help
Hi Tarzan
you can create a Customer Billing Portal Session using the API https://stripe.com/docs/api/customer_portal/sessions/create
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
have I answered both?
in fact the second one is linked to card expiration
if I consider a customer having its credit card who will expire in couple of month
is there a way (webhook ?) to detect expirations ?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
are we agree that by providing the URL to the end customer, he will be able to change its payment details ,
for recurring payments yes
ok perfect
and thanks for the webhook
will dig into it
and typically, when I detect that a card is about to expire (through webhook) I can send an email to my end customer with the link generated by Customer Billing Portal right ?
or is it better to propose a new Checkout Session ?
yes correct
let me know if you need any more help
ah juste one last question sorry
the Portal Session generated gives the possibility to change Subsscription information and payment method, I would like to propose only Payment method update
is it possible to restrict it ?
you can create a Customer Portal Configuration and choose which features are available https://stripe.com/docs/api/customer_portal/configurations/create#create_portal_configuration-features
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
that's perfect
Hi Pompey, just a quick question related to Customer Portal Session, is it possible to display Subscription details (at least email address of Customer but without providing the possibility to update it ?)
Good question, I don't think the portal is customizable like that but will look in to it
Does the current interface show the email but allow it to be changed for you?
well....for now I didn't find another way...end customer can see its email but can change it...