#lucas_reddy

1 messages · Page 1 of 1 (latest)

shrewd patrolBOT
sterile temple
#

There's no such parameter. What is it you're trying to do?

golden idol
#

i need a payment method in schedule update so what can i do

#

customer does not have any default payment method set on them, so the subscription can not charge anything

sterile temple
#

Have you collected payment details from your customer?

golden idol
#

no

#

how to collect

sterile temple
golden idol
#

yes but i have no idea about collect payment details

sterile temple
#

Are you building for the web?

golden idol
#

Yes

#

can i use SetupIntent for collect

sterile temple
#

Then the steps are outlined at the link above. You'd use Stripe.js and Elements to collect payment details and confirm the intent returned from the Subscription

sterile temple
#

That's what you confirm, you don't need to create one separately

golden idol
#

so we can collect payment details when subscription ?

#

ok sorry i am confused

sterile temple
#

Did you read the guide I linked above? This details the entire flow that you need to follow

golden idol
#

ok thank you

sterile temple
#

Take a step back, read that guide. I can answer any specific Qs you have about the flow after

golden idol
#

okay 🥹

golden idol
#

hello

#

what can i pass in default payment?

hollow forum
#

the ID "pm_xxxx" of a PaymentMethod object attached to your Customer

golden idol
#

ok added ping you after 20 minutes 🙂

hollow forum
#

don't

#

what's the ID sub_xxx of this subscription? I'll tell you if it will fail or not right now

golden idol
#

ok wait

#

sub_1McR8vBataYFhNKgJzLlWyQR

hollow forum
#

looks like it should work

golden idol
#

Its Done,
Schedule subscription updated working but also old subscription is active
what can i do

thick cargo
#

Hey, taking over here. Let me know if there's any follow-up Qs I can answer!

golden idol
#

both subscription are active
i have two plans so i am using schedule update so after schedule updated there is two subscription is active of one user

thick cargo
golden idol
#

yes but where can i find?

thick cargo
golden idol
#

I hope this is right key req_ePrf6Pmq2H0p5E

#

nothing failing all works good
but both subscription is active

thick cargo
#

that request impacted just the Subscription sub_1McR8vBataYFhNKgJzLlWyQR and has no effect to the other one sub_1McR0JBataYFhNKgzBFqCbgk

golden idol
#

so what can i do

#

sorry i cant get where i am creating issue

thick cargo
golden idol
#

yes

thick cargo
#

The two subscriptions have no link to each other. You have either to delete one of them or clean all your test scenario and do the test again on a fresh customer.

golden idol
#

ok got it.

#

thank you so much guys 🥹

thick cargo
#

Welcome!