functions-samples
functions-samples copied to clipboard
You cannot use a PaymentMethod as a source for Customers.
I am trying stripe payment sample code as provided i get following error .
You cannot use a PaymentMethod as a source for Customers.Instead, use the PaymentMethods API to Attach a Customer to a PaymentMethod. See https://stripe.com/docs/api/payment_methods/attach
Is there any thing am i missing?
Thanks