Net::API::Stripe::Payment::Intent::NextAction - A Stripe Payment Next Action Object
0.1
If present, this property tells you what actions you need to take in order for your customer to fulfill a payment using the provided source.
It used to be NextSourceAction, but the naming changed in Stripe API as of 2019-02-11
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
Contains instructions for authenticating a payment by redirecting your customer to another page or application.
If the customer does not exit their browser while authenticating, they will be redirected to this specified URL after completion.
The URL you must redirect your customer to in order to authenticate the payment.
Type of the next action to perform, one of redirect_to_url or use_stripe_sdk.
When confirming a PaymentIntent with Stripe.js, Stripe.js depends on the contents of this dictionary to invoke authentication flows. The shape of the contents is subject to change and is only intended to be used by Stripe.js.
{ "id": "pi_1EUnBEF5IfL0eXz99dkRR60n", "object": "payment_intent", "amount": 1099, "amount_capturable": 0, "amount_received": 0, "application": null, "application_fee_amount": null, "canceled_at": null, "cancellation_reason": null, "capture_method": "automatic", "charges": { "object": "list", "data": [], "has_more": false, "url": "/v1/charges?payment_intent=pi_1EUnBEF5IfL0eXz99dkRR60n" }, "client_secret": "pi_1EUnBEF5IfL0eXz99dkRR60n_secret_sqsp5vQECBqN0qTVoQwpBT0Iy", "confirmation_method": "automatic", "created": 1556596976, "currency": "jpy", "customer": null, "description": null, "invoice": null, "last_payment_error": null, "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, "payment_method": null, "payment_method_options": {}, "payment_method_types": [ "card" ], "receipt_email": null, "review": null, "setup_future_usage": null, "shipping": null, "statement_descriptor": null, "statement_descriptor_suffix": null, "status": "requires_payment_method", "transfer_data": null, "transfer_group": null }
Initial version
Jacques Deguest <jack@deguest.jp>
Stripe API documentation:
https://stripe.com/docs/api/payment_intents/object
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.