#manu.elb0507

1 messages · Page 1 of 1 (latest)

keen groveBOT
feral schooner
calm moat
#

Normally the subscriptions consist of plans, but sometimes I want a plan to have or add certain tools, so for this a payment link is being created, how can I get the subscription to be modified when the payment is made?

calm moat
feral schooner
#

You can't, Payment Links are not designed to modify existing Subscriptions, they're only used to create new ones. If you want to provide your customers with a Stripe-hosted page where they can modify existing Subscriptions you should use the Customer Portal: https://stripe.com/docs/customer-management

calm moat
#

I don't know if it was through a specific event? I have been doing it through the event "checkout.session.completed"

feral schooner
#

Stripe Checkout is also only used to create new Subscriptions, not modify existing ones.

#

Payment Links create Stripe Checkout Sessions.

#

Does Customer Portal look like what you want?

calm moat
#

no, we are not using the customer portal because the main idea is that users can add tools to their plans through payment links or checkouts and that once the payment is made their current subscription is updated with the new changes

feral schooner
#

That's not how Payment Links or Stripe Checkout work. Payment Links and Checkout can't modify existing Subscriptions.

#

They can create new ones, and a single Customer can have multiple Subscriptions. Would that work?

calm moat
#

mmm ok