Exception: PaymentKit::CardError
- Defined in:
- lib/payment_kit/errors.rb
Overview
Raised when a payment attempt is declined (HTTP 402). The invoice or intent is left in a retry-safe state, so this is a decline rather than a bug.
Instance Attribute Summary
Attributes inherited from Error
#body, #error_code, #problem, #request_id, #status
Method Summary
Methods inherited from Error
#[], #initialize, #invoice_id, #retryable?, #subscription_id
Constructor Details
This class inherits a constructor from PaymentKit::Error