#payment links lifecycle

1 messages · Page 1 of 1 (latest)

paper owl
#

so when I create a new subscription I get a payment_link for the customer where user can go and make payment.
so what happens in the next month when user has to make another payment for next billing cycle. should we redirect to same payment_link ?
and when we fetch a specific subscription object next time we don't get the payment link

stable cloudBOT
# paper owl so when I create a new subscription I get a payment_link for the customer where ...

When you create a new subscription and receive a payment link for the customer, that link is typically valid for the initial payment. For subsequent billing cycles, you should not redirect the user to the same payment link. Instead, the subscription system will automatically handle the recurring payments based on the subscription setup.

For the next billing cycle, the payment will be processed automatically according to the subscription terms. You won't need to provide a new payment link for the customer unless there is a change in the subscription or if the payment fails.

When you fetch a specific subscription object in the future, it may not include the payment link because the payment link is primarily used for the initial setup. Instead, you should rely on the subscription management features provided by Dodo Payments to handle renewals and payment processing automatically. If a payment fails or if you need to collect payment details again, you may need to create a new payment link at that time.
Disclaimer: I am a bot and I may make mistakes. Always refer to the documentation. Here are some of the relevant links that I found regarding your query. [1] [2] [3]

paper owl
#

wow, good response bot.

#

still have a question though, what is the subscription management features, if a payment for a given subscription has failed. how do I get new link.

deft coyote
#

@tropic raptor please help here.