#noro0x01
1 messages · Page 1 of 1 (latest)
hello! use mode=subscription
Cool! and if the user wants to update their payment details, do I need to use setup mode?
If the customer wants to update their payment details, I suggest you look into using the Customer Portal instead : https://stripe.com/docs/customer-management
But can It be done via setup mode with sessions?
it can, but you'll need to set the default payment method after collecting the new payment method using Checkout Sessions with mode=setup
either the default_payment_method for the Subscription [0] or invoice_settings.default_payment_method [1] on the customer
[0] https://stripe.com/docs/api/subscriptions/object#subscription_object-default_payment_method
[1] 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.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Hey @jovial goblet I was wondering if you could shed some light on it why the stripe fee was so high. Total amount was 250 but and fee was deducted 207$.
hello! if you reach out to Stripe Support - https://support.stripe.com/contact, they'll be able to advise you on that! We mainly help with developers who want to integrate directly with the Stripe API here on this channel