#yoshi-customerPortal
1 messages · Page 1 of 1 (latest)
Hi there, customer portal is helpful for your customer to manage the subscriptions. i.e., change plan or add/remove payment method.
Based on your description, I think you just need to use SetupIntent to collect the credit card details, and use subscription schedule API to create and end the subscription after 6 months.
@night ether Thank you.
I see.
Is it possible to use SetupIntent in conjunction with Billing's customer portal in the spec? Is it not possible, since the documentation only states that it supports the following?
The portal provides features that allow your customers to:
Update subscriptions.
Cancel subscriptions.
Pause subscriptions.
Resume subscriptions.
View their active subscriptions.
View their current and past invoice history, and download invoices.
Update payment methods.
Update billing information, including their tax IDs.
They work independently, you can use SetupIntent and Subscription API to collect the payment method and start the subscription. When there's a need to use custom portal, you can simply call the customer portal API and create a session for your customer to manage the subscription/payment method.
@night ether I see, it looks like we can combine them and make them work. I will investigate once with the implementation method you suggested. If there are any further questions, I would like to reply to this thread or start a new one.
Thank you
Sure, feel free to come back to us should you have any questions.