Business-CCProcessor
view release on metacpan or search on metacpan
t/10_exercise_public_methods.t view on Meta::CPAN
'occupation' => 'work',
'amount' => '258.00',
'comments1' => 'These are some comments.',
'comments2' => 'These are some more comments.',
);
my %processor_settings = (
'action' => 'https://www.paypal.com/cgi-bin/webscr',
'business' => 'GGPTreasurer@gmail.com',
'item_name' => 'Georgia Green Party',
'return' => 'http://www.accegreens.org/gpga/thankyou.php',
'cancel_return' => 'http://www.accgreens.org/gpga/supporters.cgi',
'currency_code' => 'USD',
'on0' => 'Your Employer',
'on1' => 'Your Occupation',
'on2' => 'Email',
'tax' => '0',
'no_shipping' => '1',
'login' => 'calgreens',
'button_label' => 'Donate Now',
'description' => 'Donation to Georgia Green Party',
);
t/12_build_button.t view on Meta::CPAN
'button_label' => 'Donate Online with DiA!', #<-- what to call the button
);
} elsif($method eq 'paypal'){
%processor_settings = (
'processor' => 'paypal',
'action' => '', # <-- url of web form posted to
'business' => 'GGPTreasurer@gmail.com', # <-- email address registered with paypal
'item_name' => 'Donation to the Georgia Green Party', # <-- description of transaction
'return_url' => 'http://www.accgreens.org/gpga/thankyou.php', # <-- url on your site to return to
'cancel_return_url' => 'http://www.accgreens.org/gpga/supporters.cgi', # <-- url on your site to error out to
'currency_code' => 'USD', # <-- EUR, USD, CAD etc.
'button_label' => 'Donate Online with Paypal!', #<-- what to call the button
);
} elsif($method eq 'verisign'){
%processor_settings = (
'processor' => 'verisign',
'action' => '', # <-- url of web form posted to
'login' => 'calgreens', # <-- account id
( run in 1.279 second using v1.01-cache-2.11-cpan-df04353d9ac )