#humblegawwwd

1 messages · Page 1 of 1 (latest)

lunar pelicanBOT
last prawn
#

Hello 👋
Not sure I fully understand the usecase but if you're only looking for the subscription for a customer then we have a List Subscription API endpoint where you can pass customer ID as parameter and retrieve the total subscriptions they have
https://stripe.com/docs/api/subscriptions/list

indigo kite
#

@last prawn Is there a way to use payment links to have a UI where a user can not just pay for a subscription but also cancel current ones and manage their quantity

last prawn
#

No, PaymentLinks use Stripe Checkout for payment flow. Checkout doesn't support cancelling the subs.

Customer portal is what you're looking for if you want to enable customers to manage their subs
https://stripe.com/docs/customer-management

indigo kite
#

Ahhh, this is awesome thank you very much

#

@light flax that is very helpful. While I've got you, is the main event I'm interested in for synchronizing the amount of customer subscriptions in stripe and my app the customer.subscription.updated event?

It seems like I shouldn't need the other ones for anything, or am I missing something?

last prawn
indigo kite
#

Read through that! I think I just didn't realize that a customer portal was the right fit for me, and was doing mental gymnastics trying to fit a square peg (payment links) into a round hole.

#

This channel is awesome btw, thanks for the help @last prawn