#akii-PaymentMethod
1 messages · Page 1 of 1 (latest)
Hi there, you can set the payment_method to the customer's invoice_settings.default_payment_method
Im doing that but it not getting set as default source
Actually, it shows "Default" in dashboard but whenever i call customer.getDefaultSource() it returns null
If you are setting invoice_settings.default_payment_method, then you should get it from invoice_settings.default_payment_method, not getDefaultSource()
I'd recommend you to use PaymentMethod instead of Source. We have deprecated Source in favour of PaymentMethod
Ohhh got it now. So to auto debit from card and to use subscriptions , which one should i do?
ohkay
no
What's your integration?