Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Your card was declined stripe

I am getting below error while sign-up in the project in local for stripe payment.

Your card was declined. Your request was in live mode, but used a known test card.

I don't have any idea why it comes.

Can anyone help me to come out of it?

like image 241
Pooja Mokariya Avatar asked Apr 03 '17 16:04

Pooja Mokariya


People also ask

Why does my card get declined on Stripe?

There are three possible reasons why a credit card payment might fail: Payments declined by card issuers. Blocked payments. Invalid API calls.

Why does my card keep declining but I have money?

You've reached your daily purchase limit Debit cards have daily purchase limits set by financial institutions to ensure your money is safe. The daily purchase limit for your debit card depends on where you bank. Most financial institutions will generally allow you to spend between $400 to $25,000 daily on a debit card.

How many times will Stripe retry a payment?

Default retry policy With the default settings, Stripe retries up to 4 times over a maximum period of 21 days.


1 Answers

You need to use the API keys for test mode

Visit Stripe Dashboard and then click on API on side menu.

enter image description here

Now copy the values from

Test Secret Key
Test Publishable Key

See the marked values

enter image description here

like image 83
Deepak Mahakale Avatar answered Sep 27 '22 00:09

Deepak Mahakale