#vinh9281
1 messages · Page 1 of 1 (latest)
Not sure I understand your question
Yeah sorry; my customer object after subscription creation has default payment method as null:
invoice_settings: {
custom_fields: null,
default_payment_method: null,
footer: null,
rendering_options: null
},
How can I populate this field?
You can call this endpoint with the desired pm_ id: https://stripe.com/docs/api/customers/update#update_customer-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.
I saw that documentation; but how do I get the pm_id from the first subscription creation flow?
can I do it the same time I create a subscription? or does it have to be post creation?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
lol sorry I thought this was going to be easier
okay I have the details I need
Thanks! is this like reddit where you collect points? How do I give you props
Haha no no points