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


Manual Reference Pages  -  BUSINESS::ONLINEPAYMENT::BEANSTREAM (3)

.ds Aq ’

NAME

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

CONTENTS

SYNOPSYS



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



DESCRIPTION

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

SEE ALSO

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


perl v5.20.3 BEANSTREAM (3) 2008-11-25

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