GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Beanstream(3) User Contributed Perl Documentation Beanstream(3)

Business::OnlinePayment::Beanstream - Beanstream backend for Business::OnlinePayment

  use 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";
  }

This 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:
login - merchant login (Beanstream-assigned nine digit identification number)
action - type of transaction (Normal Authorization, Authorization Only)
amount - total order amount
invoice_number - the order number of the shopper's purchase
owner - name of the card owner
card_number - number of the credit card
expiration - expiration date formated as 'mmyy' or 'mm/yy'
name - name of the billing person
address - billing address
city - billing address city
state - billing address state/province
zip - billing address ZIP/postal code
country - billing address country
phone - billing contacts phone
email - billing contact's email

Beanstream supports the following credit card:

- VISA
- MasterCard
- American Express Card
- Discover Card
- JCB
- Diners

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

Business::OnlinePayment
2008-11-25 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.