Stancer::Payment::Status - Payment status values
version 1.0.3
Ask the authorization.
The bank authorized the payment but the transaction will only be processed when the capture will be set to true.
true
The payment will not be performed, no money will be captured.
Ask to authorize and capture the payment.
The capture operation is being processed, the payment can not be cancelled anymore, refunds must wait the end of the capture process.
The amount of the payment have been credited to your account.
The customer declined the payment after it have been captured on your account.
The authorisation was not captured and expired after 7 days.
The payment has failed, refer to the response field for more details.
The payment has been refused.
The bank authorized the payment, money will be processed within the day.
We use the Log::Any framework for logging events. You may tell where it should log using any available Log::Any::Adapter module.
For example, to log everything to a file you just have to add a line to your script, like this: #! /usr/bin/env perl use Log::Any::Adapter (File => '/var/log/payment.log'); use Stancer::Payment::Status;
You must import Log::Any::Adapter before our libraries, to initialize the logger instance before use.
Log::Any::Adapter
You can choose your log level on import directly: use Log::Any::Adapter (File => '/var/log/payment.log', log_level => 'info');
Read the Log::Any documentation to know what other options you have.
Never, never, NEVER register a card or a bank account number in your database.
Always uses HTTPS in card/SEPA in communication.
Our API will never give you a complete card/SEPA number, only the last four digits. If you need to keep track, use these last four digit.
Please report any bugs or feature requests on the bugtracker website https://gitlab.com/wearestancer/library/lib-perl/-/issues or by email to bug-stancer@rt.cpan.org.
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
Joel Da Silva <jdasilva@cpan.org>
This software is Copyright (c) 2018-2024 by Stancer / Iliad78.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
To install Stancer, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Stancer
CPAN shell
perl -MCPAN -e shell install Stancer
For more information on module installation, please visit the detailed CPAN module installation guide.