#antoine-step

1 messages ยท Page 1 of 1 (latest)

weak harborBOT
lofty elbow
#

Could you please help me identify the issue.

Also, as i already have many subscriptions, what can i do now to seamlessly get the next payment working for them?

rancid bane
#

hey @lofty elbow I'm taking a look, please chat here in this thread

#

tyty

lofty elbow
#

thank you for taking a look

rancid bane
#

Can you share a subscription ID example?

lofty elbow
#

is it safe to share here?

rancid bane
#

I suspect that you need to set the either the subscription default_payment_method or customer invoice_settings[default_payment_method] after the PM is set up

lofty elbow
#

but in this case why do i see the message
"This payment successfully set up pm_xxxxxxxx for future off-session payments"

rancid bane
#

Yes, but you need to set it as the defualt to be used

lofty elbow
#

doesn't it mean that it is already set up

#

as it says 'future payments'

rancid bane
#

(Never share your secret key with anyone, even with Stripe)

lofty elbow
#

this is one of the subscriptions with this case

#

sub_1N8HXzCYBsZmZGQEWtTxv9Rr

#

the message is very missleading as it says that it is set up for future payments

rancid bane
#

The payment method is set up for future payments, yes, but you need to tell stripe to use it for those future invoices

lofty elbow
#

but i will need to get the payment method Id of every customer to do thhat

rancid bane
lofty elbow
#

as i do not want my customers to enter their info again

rancid bane
#

You shouldn't need to, the PM is already saved

lofty elbow
#

yeah the API reference you sent says that i will need to provide the payment method id to set it as default payment method

#

this means that in the dashboard i have to go to every customer get their subscription ID and payment method ID

#

and then use the update API to set the default payment method

#

right?

#

is there a way I can do this quicker? through the dashboard for example?

weak harborBOT
rancid bane
#

Well no, you'd use the API for both parts

#

Or retrieve the payment intent from the first invoice from the subscription and look at the payment method used there

#

Then set that PM on either the subscription or customer invoice settings

lofty elbow
#

alright and once this is set it will definitely work for the next payments?

rancid bane
#

Well it will be attempted, nobody can guarantee it will succeed

#

the card could have insufficient funds, or the bank might ask for authentication again etc

lofty elbow
#

but at least it will not ask for payment method

#

if the bank asks for authentication again, do i or the customer get a notification?

rancid bane
lofty elbow
#

alright thank you!

#

and for the new subscriptions

#

is this a new addition to the API?

rancid bane
#

The customer invoice settings have existed for several years

lofty elbow
#

alright thank you! I'll reach out if more help was needed!

rancid bane
#

Sounds good, my pleasure ๐Ÿ‘‹

lofty elbow
#

will this thread remain on the channel so i can see it for reference?