#alvin_63959
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- alvin_63959, 1 hour ago, 7 messages
- alvin_63959, 1 day ago, 8 messages
Happy to help, what is your query?
Hi, so I am creating a subscription with an existing customer right and has cancelled subscription. In stripe cx already have a default payment method intact. So when I am creating in the subscription through api it says,
my request is this
am I missing something?
It sounds like you may have attached the PM but it is not set as the default payment method on the customer https://docs.stripe.com/api/customers/object#customer_object-invoice_settings-default_payment_method
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Can you try setting that and then try to create the subscription again?
but I have this one alrdy in stripe
oh okay, it is not yet the default
wait but how would I know the PM method used before to be set as the default?
like is asking for the ID, but I dont know where should I get that ID from
Do you know how you created that Pament Method? The ID is usually returned as part of that process
oh okay I see, should be in the payment_method event right?