Open claudiulodro opened 9 months ago
I came across this on behalf of a client recently and was in the process of chasing it up with Stripe.
Having examined the API logs, it appears as though the error was first introduced in Stripe plugin version 7.3.0.
Pleased to discover these errors are of no concern and are already flagged.
Another report 8257232-zen.
Describe the bug
I was looking through the logs on a bunch of sites we host, and I noticed that every transaction generates a series of API requests to Stripe, one of which always responds with a
400 ERR
error code:(example)
The error is not phrased well, but
default_source
param of the API does not accept PaymentMethodpm_abcd1234
tokens. In fact that field appears to be deprecated in general. This appears to be the offending bit of code.To Reproduce Steps to reproduce the behavior:
200
and one which responds with400
:Expected behavior Probably makes the most sense to use
default_payment_method
when the token starts withpm_
anddefault_source
when the token starts withsrc_
Screenshots See above
Environment (please complete the following information):