Catalyst::Model::PayPal::APIPayPal Model for Catalyst | |
Download |
Catalyst::Model::PayPal::API Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Dean Hamstead
- Publisher web site:
- http://search.cpan.org/~djzort/
Catalyst::Model::PayPal::API Tags
Catalyst::Model::PayPal::API Description
Catalyst::Model::PayPal::API is a PayPal model for Catalyst.SYNOPSIS package YourApp::Model::PayPal; use parent 'Catalyst::Model::PayPal::API'; __PACKAGE->config(%paypal_account_details); 1 package YourApp::Controller::Foo; sub index : Path('/') { my ( $self, $c, @args ) = @_; my %resp = $c->model('PayPal')->SetExpressCheckout(%options); if ( $resp{Ack} eq 'Success' ) { # save the various details in a database or something, then redirect $c->response->redirect( $c->model('PayPal')->redirect_url() . $resp{Token} ); } else { # handle the error details, see Business::PayPal::API } } 1Product's homepage
Catalyst::Model::PayPal::API Related Software