Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    Business::GestPayCryptHS 0.41

    Download button

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

    License / Price:

    Last Updated:

    Category:
    Marco Gazerro | More programs
    Perl Artistic License / FREE
    August 1st, 2007, 22:05 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    Business::GestPayCryptHS description

    Business::GestPayCryptHS is a Perl interface to the italian online payment system GestPay.

    SYNOPSIS

    #
    # Request
    #

    use Business::GestPayCryptHS;
    my $obj = new Business::GestPayCryptHS;

    $obj->SetShopLogin($ShopLogin);
    $obj->SetCurrency($Currency);
    $obj->SetAmount($Amount);
    $obj->SetShopTransactionID($ShopTransationID);
    $obj->SetLanguage($Language);

    $obj->Encrypt();

    if ( $obj->GetErrorCode() ) {
    print 'Error: ', $obj->GetErrorCode(), ' ',
    $objCrypt->GetErrorDescription();
    } else {
    my $a = $obj->GetShopLogin();
    my $b = $obj->GetEncryptedString();
    print qq~




    ~;
    }

    #
    # Response
    #

    $obj->SetShopLogin($ShopLogin);
    $obj->SetEncryptedString($b);

    $obj->Decrypt();

    if ( $objCrypt->GetErrorCode() ) {
    print 'Error: ', $obj->GetErrorCode() , ' ',
    $objCrypt->GetErrorDescription();
    } else {
    print 'ShopLogin : ', $obj->GetShopLogin(), "n";
    print 'Currency :', $obj->GetCurrency(), "n";
    print 'Amount : ', $obj->GetAmount(), "n";
    print 'ShopTransactionID : ', $obj->GetShopTransactionID(), "n";
    print 'BuyerName : ', $obj->GetBuyerName(), "n";
    print 'BuyerEmail : ', $obj->GetBuyerEmail(), "n";
    print 'TransactionResult : ', $obj->GetTransactionResult(), "n";
    print 'AuthorizationCode : ', $obj->GetAuthorizationCode(), "n";
    print 'BankTransactionID : ', $obj->GetBankTransactionID(), "n";
    print 'ErrorCode : ', $obj->GetErrorCode(), "n";
    print 'ErrorDescription : ', $obj->GetErrorDescription(), "n";
    print 'AlertCode : ', $obj->GetAlertCode(), "n";
    print 'AlertDescription : ', $obj->GetAlertDescription(), "n";
    print 'CustomInfo : ', $obj->GetCustomInfo(), "n";
    }

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    GestPay interface | online payment | Perl module | Business::GestPayCry | GestPay | online

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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