Skip to content

Commit

Permalink
Add support for payment_method_type on Error
Browse files Browse the repository at this point in the history
  • Loading branch information
remi-stripe committed Nov 6, 2020
1 parent 9e175cf commit 8c82bc2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/ErrorObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
* returned on a request involving a PaymentIntent.
* @property PaymentMethod $payment_method The PaymentMethod object for errors
* returned on a request involving a PaymentMethod.
* @property string $payment_method_type If the error is specific to the type
* of payment method, the payment method type that had a problem. This
* field is only populated for invoice-related errors.
* @property SetupIntent $setup_intent The SetupIntent object for errors
* returned on a request involving a SetupIntent.
* @property StripeObject $source The source object for errors returned on a
Expand Down

0 comments on commit 8c82bc2

Please sign in to comment.