Catalyst-Model-PayPal-IPN
view release on metacpan or search on metacpan
Returns a hashref of amount, invoice and custom.
form_info
Takes a hashref and returns form data for looping through to create your
form.
See SYNOPSIS
encrypt_form
Encrypts form data.
$c->model('Paypal::IPN')->encrypt_form( \%data );
CONFIGURATION AND ENVIRONMENT
The usual techniques for suppling model configuration data in Catalyst
apply, but the follow should be present:
Model::Paypal::IPN:
debug_mode: 1
encrypt_mode: 0
business_email: ghenry_1188297224_biz@suretecsystems.com
currency_code: GBP
completion_action:
- Subscribe
- subscribe
- payment
- received
postback_action:
- Subscribe
- subscribe
- payment
- ipn
cancellation_action:
- Subscribe
- subscribe
- payment
- cancelled
debug_mode switches form url to the PayPal sandbox url. If using
encrypted buttons, i.e.
encrypt_mode: 1
then the following will be needed:
cert: /home/ghenry/MyApp/root/auth/paypal_certs/www.myapp.net.crt
cert_key: /home/ghenry/MyApp/root/auth/paypal_certs/www.myapp.net.key
paypal_cert: /home/ghenry/MyApp/root/auth/paypal_certs/paypal_sandbox_cert.pem
Catalyst::Model::PayPal::IPN requires:
DEPENDENCIES
Moose
namespace::clean
Business::PayPal::IPN
Business::PayPal::EWP
BUGS AND LIMITATIONS
No bugs have been reported.
Please report any bugs or feature requests to
"bug-catalyst-model-paypal-ipn@rt.cpan.org", or through the web
interface at <http://rt.cpan.org>.
AUTHOR
Matt S Trout "mst@shadowcatsystems.co.uk"
Gavin Henry "ghenry@suretecsystems.com"
LICENCE AND COPYRIGHT
Copyright (c) 2007, Matt S Trout, "mst@shadowcatsystems.co.uk". All
rights reserved.
Copyright (c) 2007, Gavin Henry "ghenry@suretecsystems.com". All rights
reserved.
This module is free software; you can redistribute it and/or modify it
under the same terms as Perl itself. See perlartistic.
DISCLAIMER OF WARRANTY
BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH
YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
NECESSARY SERVICING, REPAIR, OR CORRECTION.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE LIABLE
TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
DAMAGES.
( run in 2.326 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )