Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Perl Modules

    Business::OnlinePayment::PayflowPro 0.06

    Download button

    No screenshots available
    Downloads: 340  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Ivan Kohler and Phil Lobbes | More programs
    Perl Artistic License / FREE
    November 23rd, 2007, 07:27 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Business::OnlinePayment::PayflowPro description

    Business::OnlinePayment::PayflowPro is a Payflow Pro backend for Business::OnlinePayment.

    Business::OnlinePayment::PayflowPro is a Payflow Pro backend for Business::OnlinePayment.

    SYNOPSIS

    use Business::OnlinePayment;

    my $tx = new Business::OnlinePayment(
    'PayflowPro',
    'vendor' => 'your_vendor',
    'partner' => 'your_partner',
    'cert_path' => '/path/to/your/certificate/file/', # just the dir
    );

    # See the module documentation for details of content()
    $tx->content(
    type => 'VISA',
    action => 'Normal Authorization',
    description => 'Business::OnlinePayment::PayflowPro test',
    amount => '49.95',
    invoice_number => '100100',
    customer_id => 'jsk',
    name => 'Jason Kohles',
    address => '123 Anystreet',
    city => 'Anywhere',
    state => 'GA',
    zip => '30004',
    email => 'ivan-payflowpro@420.am',
    card_number => '4111111111111111',
    expiration => '12/09',
    cvv2 => '123',
    order_number => 'string',
    );

    $tx->submit();

    if ( $tx->is_success() ) {
    print(
    "Card processed successfully: ", $tx->authorization, "n",
    "order number: ", $tx->order_number, "n",
    "CVV2 code: ", $tx->cvv2_code, "n",
    "AVS code: ", $tx->avs_code, "n",
    );
    }
    else {
    my $info = "";
    $info = " (CVV2 mismatch)" if ( $tx->result_code == 114 );

    print(
    "Card was rejected: ", $tx->error_message, $info, "n",
    "order number: ", $tx->order_number, "n",
    );
    }

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    Business::OnlinePayment backend | Payflow Pro | Perl module | Business::OnlinePaym | backend | Payflow

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM