#pandareaper
1 messages · Page 1 of 1 (latest)
Hi there, a customer can't be cloned but a payment method can (the title is misleading). So what this code shows is to just attache a source to a new customer.
Are you still using sources? or you have already upgrade to using payment methods API?
we are using the payment methods api
I think maybe the part where I have been getting confused is when creating the payment intent, previously we set the customerId
I suppose I should provide a payment_method instead?
For context, I am investigating moving to a direct charges approach
You should always sets a payment_method if you want to use an existing payment_method for payment
Is that in the context of direct charges or a general rule?
Currently we perform destination charges and set the customerId but do not set the payment_method
In our client customers choose the payment method to use and we confirm with the selected one at that point