#cableman127
1 messages · Page 1 of 1 (latest)
source is a legacy integration and no longer recommended.
Since you use Checkout Session to add a payment method, it will create Payment Method ID (pm_xxx) and under invoice_settings.default_payment_method of Customer: https://stripe.com/docs/api/customers/object#customer_object-invoice_settings-default_payment_method
Since you use payment method, you can clone the payment method to connected account using Payment Methods API: https://stripe.com/docs/payments/payment-methods/connect#cloning-payment-methods
and then modify a customer and attach it right?
Yup! The customer should be in connected account as well
ok ty
Payment Method (pm_xxx) should be updated under invoice_settings.default_payment_method not default_source
cool thx for the help
No problem! Happy to help 😄