News:

Looking for documentation? Take a look on our wiki

Main Menu

passing product description

Started by barnea10, January 25, 2012, 15:25:00 PM

Previous topic - Next topic

barnea10

hi

i would like to make a payment module, the block of trasmitting details to the credit company are :


$vars = array(
             "TerminalNumber" => PN_TERMINAL,
             "username"  => PN_USERNAME,
             "sum" => "$order_total",
             "cardnumber"  => $_SESSION['ccdata']['order_payment_number'],
             "cardvaliditymonth" => $_SESSION['ccdata']['order_payment_expire_month'],
             "cardvalidityyear"=> $_SESSION['ccdata']['order_payment_expire_year'],
             "cvv" =>  $_SESSION['ccdata']['credit_card_code']
          "invCreateInvoice" =>  '1',
             "invItemDescription" =>  XXXX,
             "invCustName" =>  $_SESSION['ccdata']['first_name']['last_name'],
             "invDestEmail" =>  $_SESSION['ccdata']['user_email']
        );


whats missing is "invItemDescription" =>  XXXX,
what should i put instead of XXXX ?
to show what the customer bought

thanks

barnea