user image

Eslam Zedan
Published in : 2022-02-28

strip error The card number is not a valid credit card number.

Laravel

I am using stripe payment with laravel it was working fine in the test mode.

after changing it to live mode any card I use for test strip returns 

The card number is not a valid credit card number.

the card is real and working fine any help

here is the response of stripe

 

{
  "error": {
    "code": "invalid_number",
    "doc_url": "https://stripe.com/docs/error-codes/invalid-number",
    "message": "The card number is not a valid credit card number.",
    "param": "number",
    "type": "card_error"
  }
}

Comments

There is no comments yet

Leave a comment

Join us

Join our community and get the chance to solve your code issues & share your opinion with us

Sign up Now

Related posts

Uncaught Error: Missing required parameters: sitekey Laravel
Publish date: 2022-01-08 | Comments: 2
[solved] Class "App\Exceptions\Client" not found
Publish date: 2022-02-09 | Comments: 2
How to check Laravel version?
Publish date: 2022-04-07 | Comments: 2
[solved] All assets in laravel storage returns 404
Publish date: 2021-12-14 | Comments: 2
Laravel redirect to the last location after login
Publish date: 2022-02-21 | Comments: 1