#akernickndp_65118

1 messages · Page 1 of 1 (latest)

solemn epochBOT
harsh seal
#

Hello, can you tell me more about what your code is doing when you get these error messages?

#

And are you getting any text for the error message along with the HTTP code? Stripe should raise a readable error

loud parcel
# harsh seal And are you getting any text for the error message along with the HTTP code? Str...

{ "error": { "message": "Sending credit card numbers directly to the Stripe API is generally unsafe. To continue processing use Stripe.js, the Stripe mobile bindings, or Stripe Elements. For more information, see https://dashboard.stripe.com/account/integration/settings. If you are qualified to handle card data directly, see https://support.stripe.com/questions/enabling-access-to-raw-card-data-apis.", "request_log_url": "https://dashboard.stripe.com/logs/req_KdHxWBejnGAL6q?t=1698107213", "type": "invalid_request_error" }}

#

This is the message we are getting, I overlook over 300 pages for a political party and we have gotten theses on lots of our pages.

harsh seal
#

So as that error says, sending raw card numbers is generallyunsafe and discouraged. We reccommend collecting payment method details via Stripe hosted surfaces like Elements or Checkout

solemn epochBOT