Net::API::Stripe::Error - A Stripe Error Object
0.1
Creates a new Net::API::Stripe objects. It may also take an hash like arguments, that also are method of the same name.
Net::API::Stripe
Toggles verbose mode on/off
Toggles debug mode on/off
The type of error returned. One of api_connection_error, api_error, authentication_error, card_error, idempotency_error, invalid_request_error, or rate_limit_error
For card errors, the ID of the failed charge. Not always present. Exists in Net::API::Stripe::Payment::Intent, but not in Net::API::Stripe::Payment::Intent::Setup
Net::API::Stripe::Payment::Intent
Net::API::Stripe::Payment::Intent::Setup
For some errors that could be handled programmatically, a short string indicating the error code reported.
For card errors resulting from a card issuer decline, a short string indicating the card issuer’s reason for the decline if they provide one.
A URL to more information about the error code reported. This is a URI object.
URI
A human-readable message providing more details about the error. For card errors, these messages can be shown to your users.
If the error is parameter-specific, the parameter related to the error. For example, you can use this to display a message near the correct form field.
The PaymentIntent object for errors returned on a request involving a PaymentIntent.
When set, this is a Net::API::Stripe::Payment::Intent object.
The PaymentMethod object for errors returned on a request involving a PaymentMethod.
When set, this is a Net::API::Stripe::Payment::Method object.
Net::API::Stripe::Payment::Method
The SetupIntent object for errors returned on a request involving a SetupIntent.
When set, this is a Net::API::Stripe::Payment::Intent::Setup object.
The source object for errors returned on a request involving a source.
When set this is a Net::API::Stripe::Payment::Source object.
Net::API::Stripe::Payment::Source
Initial version
Jacques Deguest <jack@deguest.jp>
Stripe API documentation:
https://stripe.com/docs/api/errors
Copyright (c) 2018-2019 DEGUEST Pte. Ltd.
You can use, copy, modify and redistribute this package and associated files under the same terms as Perl itself.
1 POD Error
The following errors were encountered while parsing the POD:
You forgot a '=back' before '=head1'
To install Net::API::Stripe, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::API::Stripe
CPAN shell
perl -MCPAN -e shell install Net::API::Stripe
For more information on module installation, please visit the detailed CPAN module installation guide.