#akernickndp_65118
1 messages · Page 1 of 1 (latest)
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
{ "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" }}
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
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.
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