#Redrigz

1 messages · Page 1 of 1 (latest)

marble horizonBOT
loud dune
#

They will only be 'applied' when the required payment succeeds

empty ginkgo
#

this is the status when the payment is denied or failed

#

the previous payment was SILVER_MONTHLY

#

the client payed 60$ for Silver and the he tried to update to Gold and the difference is 12$ but he declined the require authorization, in that case i would like the revert the the previous subscription

loud dune
#

Yep, this is expected behaviour:

By default, updates are applied regardless of whether payment on the new invoice succeeds. If payment fails, rolling back the updates is a manual process. You need to create a new invoice, prorate items on the invoice, and then initiate payment again. However, with the pending updates feature, you can make changes to subscriptions only if payment succeeds on the new invoice.

#

In future, to prevent this scenario, you can use the pending updates feature I shared above

empty ginkgo
#

but i can't find this parameter 'payment_behavior: pending_if_incomplete' on this version 7.15.0

loud dune
empty ginkgo
#

thank u