All cards getting declined
-
I am trying to test a payment with WooCommerce Stripe. I’ve set up and connected Square as the only payment option, and shipping is all configured correctly. Everything works right up until checkout and I get the message “The provided card was declined, please use an alternate card or other form of payment.”. I’ve tried three different cards and they all get declined.
Here is the erroneous response in the debug log:
Response code: 402 message: headers: Array ( [0] => HTTP/1.1 402 Payment Required [content-type] => application/json [square-version] => 2019-08-14 [vary] => Origin, Accept-Encoding [x-content-type-options] => nosniff [x-download-options] => noopen [x-frame-options] => SAMEORIGIN [x-permitted-cross-domain-policies] => none [x-xss-protection] => 1; mode=block [date] => Thu, 24 Oct 2019 17:04:49 GMT [keep-alive] => timeout=60 [Strict-Transport-Security] => max-age=631152000 [content-length] => 97 ) body: Array ( [errors] => Array ( [0] => stdClass Object ( [category] => PAYMENT_METHOD_ERROR [code] => CARD_DECLINED [detail] => Card declined. ) ) )
This error does not create a log in the status/logs screen.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘All cards getting declined’ is closed to new replies.