#Benoît

1 messages · Page 1 of 1 (latest)

carmine knollBOT
prisma merlin
#

Hi 👋

unreal locust
#

Hi 🙂

prisma merlin
#

The error is pretty clear here. You cannot update the Payment Method attached to a Payment Intent after it has processed

unreal locust
#

Does it means my customer can't chose the payment method he wants to subscribe a new plan ?

#

Like Amazon do

prisma merlin
#

The error message you are seeing implies that it is not occurring when a new subscription is occurring

#

Can you share the Request ID for the request that returned this error?

unreal locust
#

I'm trying to attach a subscription item beside another already subscribed item

#

pi_3NUtnPAYYvne95SH12bODRlg

prisma merlin
#

That's a payment intent ID. Do you have the API request?

unreal locust
#

req_yXNmvNzzMl45j0

#

Sorry

prisma merlin
#

You are attempting to modify a payment intent. At this point it too late.

#

The invoice was set to charge automatically and the customer already has a saved payment method

#

So when it was created it charged the saved payment method

#

You need to move when you create the Susbcription to after the Customer selects the payment method

unreal locust
#

The subscription is already created, as i just add some susbscription item (a plan) to the existing one

#

So when my customer chose his PM, i must retrieve the "main" subscription, update its payment method, and then add my new subscription item. Is that it ?

prisma merlin
#

The Payment Intent and Invoice will be automatically processed based on the settings on the Subscription.

#

If you want to apply a different payment method to the change you will need to update the Subscription

unreal locust
#

Ok i see

#

Thank you very much for the explaination