CardException
CardException is thrown when a user enters a card that can’t be charged for some reason.
Contents
Description #
Source #
File: includes/lib/stripe-php/lib/Exception/CardException.php
Methods #
- factory — Creates a new CardException exception.
- getDeclineCode — Gets the decline code.
- getStripeParam — Gets the parameter related to the error.
- setDeclineCode — Sets the decline code.
- setStripeParam — Sets the parameter related to the error.