NAME
Business::CPI::Role::Gateway::FormCheckout - Provide a checkout with simple HTML forms
VERSION
version 0.916
ATTRIBUTES
form_encoding
Defaults to UTF-8.
checkout_form_http_method
Defaults to post.
checkout_form_submit_name
Defaults to submit.
checkout_form_submit_value
Defaults to ''.
checkout_form_submit_image
If set, makes the submit button become an image. Set this to the URL of the image you want to display in the checkout button. Defaults to '' (i.e., no image, default brower submit button).
METHODS
get_form
Get the form to checkout. Use "get_form" in Business::CPI::Role::Cart, don't use this method directly.
get_hidden_inputs
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.
AUTHOR
André Walker <andre@andrewalker.net>
COPYRIGHT AND LICENSE
This software is copyright (c) 2014 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.