I keep getting this error can anyone please help to know what am doing wrong?
Stripe \ Error \ InvalidRequest No such token: tok_1E6AbPFWwEbVuzsrPEO3KM3A
\vendor\stripe\stripe-php\lib\ApiRequestor.php
// for API versions earlier than 2015-09-08
if ($code == 'rate_limit') {
return new Error\RateLimit($msg, $param, $rcode, $rbody, $resp, $rheaders);
}
if ($type == 'idempotency_error') {
return new Error\Idempotency($msg, $rcode, $rbody, $resp, $rheaders);
}
// intentional fall-through
case 404:
return new Error\InvalidRequest($msg, $param, $rcode, $rbody, $resp, $rheaders);
case 401:
return new Error\Authentication($msg, $rcode, $rbody, $resp, $rheaders);
case 402:
return new Error\Card($msg, $param, $code, $rcode, $rbody, $resp, $rheaders);
case 403:
return new Error\Permission($msg, $rcode, $rbody, $resp, $rheaders);
case 429:
return new Error\RateLimit($msg, $param, $rcode, $rbody, $resp, $rheaders);
default:
return new Error\Api($msg, $rcode, $rbody, $resp, $rheaders);
}
}
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire