#lucas_reddy
1 messages · Page 1 of 1 (latest)
There's no such parameter. What is it you're trying to do?
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
Have you collected payment details from your customer?
If you've only created the Subscription, then you should follow the steps here to collect details from your customer and confirm the PI on the initial Invoice: https://stripe.com/docs/billing/subscriptions/build-subscriptions?ui=elements#collect-payment
yes but i have no idea about collect payment details
Are you building for the web?
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
No, the Subscription will create either a Payment or Setup Intent
That's what you confirm, you don't need to create one separately
Did you read the guide I linked above? This details the entire flow that you need to follow
ok thank you
Take a step back, read that guide. I can answer any specific Qs you have about the flow after
okay 🥹
the ID "pm_xxxx" of a PaymentMethod object attached to your Customer
ok added ping you after 20 minutes 🙂
don't
what's the ID sub_xxx of this subscription? I'll tell you if it will fail or not right now
looks like it should work
Its Done,
Schedule subscription updated working but also old subscription is active
what can i do
Hey, taking over here. Let me know if there's any follow-up Qs I can answer!
here is issue brother
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
Can you share the requestId?
yes but where can i find?
Can you share the ID (req_xxx) of the failing API request?
https://support.stripe.com/questions/finding-the-id-for-an-api-request
Otherwise the customer has in fact two Subscription. If you hesitate that wasn't you that created one of them, I invite to delete all the subscriptions and do again the test on a clean customer
https://dashboard.stripe.com/test/customers/cus_NNBGVOkLqTZzEV
I hope this is right key req_ePrf6Pmq2H0p5E
nothing failing all works good
but both subscription is active
that request impacted just the Subscription sub_1McR8vBataYFhNKgJzLlWyQR and has no effect to the other one sub_1McR0JBataYFhNKgzBFqCbgk
This is how the second subscription was created:
https://dashboard.stripe.com/test/logs/iar_ltEMNY1iwDRF7X
what issue exactly? having two active subscriptions ?
yes
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.
Welcome!