Business::OnlinePayment::SecureHostingUPG - SecureHosting UPG backend module for Business::OnlinePayment
use Business::OnlinePayment; #### # One step transaction, the simple case. #### my $tx = new Business::OnlinePayment("SecureHostingUPG"); $tx->content( type => 'VISA', login => 'SecureHosting Reference', password => 'SecureHosting Checkcode value', action => 'Normal Authorization', description => 'Business::OnlinePayment test', amount => '49.95', currency => 'GBP', name => 'Tofu Beast', address => '123 Anystreet', city => 'Anywhere', state => 'UT', zip => '84058', phone => '420-867-5309', email => 'tofu.beast@example.com', card_number => '4005550000000019', expiration => '08/06', card_start => '05/04', cvv2 => '1234', #optional issue_number => '5678', ); $tx->submit(); if($tx->is_success()) { print "Card processed successfully: ".$tx->authorization."\n"; } else { print "Card was rejected: ".$tx->error_message."\n"; }
Content required: type, login, password, action, amount, first_name, last_name, card_number, expiration.
URI::Escape Tie::IxHash Net::SSLeay _or_ ( Crypt::SSLeay and LWP ) The included htmlgood.html and htmlbad.html files must be uploaded to your Secure Hosting account (Settings | File Manager).
For detailed information see Business::OnlinePayment.
Only "Normal Authorization" is supported by the gateway.
Ivan Kohler <ivan-securehostingupg@420.am>
perl(1). Business::OnlinePayment.
To install Business::OnlinePayment::SecureHostingUPG, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Business::OnlinePayment::SecureHostingUPG
CPAN shell
perl -MCPAN -e shell install Business::OnlinePayment::SecureHostingUPG
For more information on module installation, please visit the detailed CPAN module installation guide.