|
NAMEBusiness::OnlinePayment::Beanstream - Beanstream backend for Business::OnlinePaymentSYNOPSYSuse Business::OnlinePayment; my $tr = Business::OnlinePayment->new('Beanstream'); $tr->content( login => '100200000', action => 'Normal Authorization', amount => '1.99', invoice_number => '56647', owner => 'John Doe', card_number => '312312312312345', expiration => '1212', name => 'Sam Shopper', address => '123 Any Street', city => 'Los Angeles', state => 'CA', zip => '23555', country => 'US', phone => '123-4567', email => 'Sam@shopper.com', ); $tr->submit; if ($tr->is_success){ print "Card processed successfully: ".$tr->authorization."\n"; }else{ print "Card processing was failed: ".$tr->error_message."\n"; } DESCRIPTIONThis module allows you to link any e-commerce order processing system directly to Beanstream transaction server (http://www.beanstream.com). All transaction fields are submitted via GET or POST to the secure transaction server at the following URL: https://www.beanstream.com/scripts/process_transaction.asp. The following fields are required:
Beanstream supports the following credit card:
Currently you may process only two types of transaction, namely 'Normal Authorization' (Purchase) and 'Authorization Only' (Pre-Auth). For detailed information about methods see Business::OnlinePayment SEE ALSOBusiness::OnlinePayment
Visit the GSP FreeBSD Man Page Interface. |