Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

awaismunawar's avatar

Stripe Payment Failed

I add Stripe key and Stripe Secret. I m using Stripe Test key and test secret . I am getting the following error We had trouble validating your card. It's possible your card provider is preventing us from charging the card. Please contact your card provider or customer support. Please let me know what is the issue

0 likes
3 replies
hubrik's avatar
hubrik
Best Answer
Level 3

Open your Network tab see if you have any errors on the subscription. Also how are your plans set in SparkServiceProvider?

3 likes
ejdelmonico's avatar

Which test card number are you using? You need to use the appropriate test credit cards from Stripe. Some generate specific errors for testing.

awaismunawar's avatar

@hubrik you are right. Plan is not created on stripe that is why i am getting error. Thanks

Please or to participate in this conversation.