#Fun_GKC-payment_methods
1 messages · Page 1 of 1 (latest)
hi there! two methods :
- https://stripe.com/docs/payments/save-and-reuse
- https://stripe.com/docs/payments/save-during-payment
Then to set the default PaymentMethod on a Customer for subscriptions, you will set it PaymentMethod in invoice_settings.default_payment_method[0]
[0] https://stripe.com/docs/api/customers/update#update_customer-invoice_settings-default_payment_method
or you can probably just refer to this page for subscriptions specifically : https://stripe.com/docs/billing/subscriptions/build-subscriptions
But, I don't use Stripe invoice and subscription. Does invoice_settings.default_payment_method still work if I just use payment intent to charge the cards?
no, if you're not using invoice/subscriptions, then you don't need to set invoice_settings.default_payment_method
you can just refer to the first two links
So, we can just attach a payment method to a customer but not attach a payment method as default to a customer under the new environment, if I don't use invoice/subscriptions?