#TMO
1 messages ยท Page 1 of 1 (latest)
Hey
Hi there!
Thanks for replying so fast!
The client portal subscription management links only show the latest subscription for an email
I think it should show all subscriptions for a given email
Yes an example would be great!
I was wondering if it's the name/billing addresses being different, but it appears not.
Can you share the customer ID (cus_xxx)?
Or are these different customer IDs?
For no-code customer portal, if there are multiple customers objects with the same email address, Stripe selects the most recently created customer with that email and an active subscription.
This is explained here: https://stripe.com/docs/customer-management/activate-no-code-customer-portal#share
I see
Let me test
Yes
So
I created subscriptions with identical details and a new customer was created for each
cus_Nlu9X7shedh6tW
cus_Nlu9Hm3ScHuS2h
So yeah that's the issue. You should use the same customer ID if you want the customer to manage all their subscriptions in the customer portal.
So I need to pull from stripe, if that customer exists attach it to the checkout session?
If you are using Checkout Session, then yes you can pass the customer parameter: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-customer
Awesome thanks
Hey, taking over here. Let me know if there's any follow-up Qs I can answer!
Cool, welcome!
One quick question on test clocks
Webhooks don't seem to be firing when advancing time and triggering renewals
Are you having particular issue? you should be getting webhooks using test clocks too:
https://stripe.com/docs/billing/testing/test-clocks#:~:text=Ensure your integration processes Billing lifecycle webhooks correctly.
It's just me I think ๐
Is it possible to adjust the failed payments functions?
So if a payment fails the sub is instantly cancelled?
or reduce the retry window at least
You can configure retries here:
https://dashboard.stripe.com/settings/billing/automatic
You need to do that by your integration, listening to payment failure webhooks and cancel the subscription once received.
Thanks
One more question
I'm sure I saw an option to select whether a customer cancelling a sub, instantly cancels or continues to the end of the period.
I can't find it now
All subscriptions settings are listed here
Welcome!