Support the ongoing development of Laravel.io →
posted 9 years ago
Packages
Last updated 2 years ago.
0

All Stripe exceptions (on the current PHP lib) extend from \Stripe\Error\Base.

\Stripe\Error\Card
\Stripe\Error\Api
Stripe\Error\InvalidRequest
\Stripe\Error\RateLimit
\Stripe\Error\ApiConnection
\Stripe\Error\Authentication

Try catching \Stripe\Error\Card :)

Last updated 9 years ago.
0

Thanks for that :)

0

Sign in to participate in this thread!

Eventy

Your banner here too?

SirNessyUK sirnessyuk Joined 23 Mar 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.