Business::CPI::Gateway::Base - Father of all gateways
version 0.5
E-mail of the business owner.
Currency code, such as BRL, EUR, USD, etc.
Provide a logger to the gateway. It's the user's responsibility to configure the logger. By default, nothing is logged.
The url for the gateway to postback, notifying payment changes.
The url for the customer to return to, after they finished the payment.
The url the application will post the form to. Defined by the gateway.
Defaults to post.
Defaults to submit.
Defaults to ''.
Defaults to UTF-8.
Creates a new Business::CPI::Cart connected to this gateway.
Get the form to checkout. Use the method in Business::CPI::Cart, don't use this method directly.
Get the payment notification (such as PayPal's IPN), and return a hashref with the details.
Search past transactions.
Get more details about a given transaction.
This method is called when building the checkout form. It will return a hashref with the field names and field values for the form. This way the gateway will implement only this method, while the rest of the form will be built by this class.
André Walker <andre@andrewalker.net>
This software is copyright (c) 2013 by André Walker.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Business::CPI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Business::CPI
CPAN shell
perl -MCPAN -e shell install Business::CPI
For more information on module installation, please visit the detailed CPAN module installation guide.