functions-samples icon indicating copy to clipboard operation
functions-samples copied to clipboard

You cannot use a PaymentMethod as a source for Customers.

Open MussaratAziz opened this issue 6 years ago • 0 comments

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

MussaratAziz avatar Sep 18 '19 09:09 MussaratAziz