Noodlio Pay - Smooth Payments with Stripe

FREE
By noodlio | Updated 16 days ago | Commerce
Popularity

0.2 / 10

Latency

983ms

Service Level

100%

Health Check

N/A

Back to All Discussions

How to fix?

Rapid account: Jun 283
jun283
8 years ago

HTTP/1.1 200 OK
Access-Control-Allow-Headers: Accept, X-Mashape-Key, Content-Type, Authorization, Content-Length, X-Requested-With
Access-Control-Allow-Methods: GET, POST, OPTIONS, PUT, PATCH, DELETE
Connection: keep-alive
Content-Length: 1192
Content-Type: application/json
Date: Wed, 07 Sep 2016 06:13:08 GMT
Server: Mashape/5.0.6
Via: 1.1 vegur
X-Powered-By: Express

{
“type”: “StripeCardError”,
“stack”: “Error: Your card was declined. Your request was in live mode, but used a known test card.\n at Error._Error (/app/node_modules/stripe/lib/Error.js:12:17)\n at Error.Constructor (/app/node_modules/stripe/lib/utils.js:107:13)\n at Error.Constructor (/app/node_modules/stripe/lib/utils.js:107:13)\n at Function.StripeError.generate (/app/node_modules/stripe/lib/Error.js:55:14)\n at IncomingMessage.<anonymous> (/app/node_modules/stripe/lib/StripeResource.js:141:39)\n at emitNone (events.js:85:20)\n at IncomingMessage.emit (events.js:179:7)\n at endReadableNT (_stream_readable.js:913:12)\n at _combinedTickCallback (internal/process/next_tick.js:74:11)\n at process._tickCallback (internal/process/next_tick.js:98:9)”,
“rawType”: “card_error”,
“code”: “card_declined”,
“param”: “”,
“message”: “Your card was declined. Your request was in live mode, but used a known test card.”,
“raw”: {
“message”: “Your card was declined. Your request was in live mode, but used a known test card.”,
“type”: “card_error”,
“param”: “”,
“code”: “card_declined”,
“statusCode”: 402,
“requestId”: “req_99HseGOIjzMS2k”
},
“requestId”: “req_99HseGOIjzMS2k”,
“statusCode”: 402
}

Rapid account: Noodlio
noodlio Commented 8 years ago

It seems that you mixed the live mode with the test mode. You can’t use test cards in the live mode.

Join in the discussion - add comment below:

Login / Signup to post new comments