tribulant

Untitled

Sep 5th, 2011
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.35 KB | None | 0 0
  1. $fields = array(
  2.                                     'tribu_paymentmethod'   =>  'twocheckout',
  3.                                     'tribu_type'            =>  (($updatetype == "renew") ? 'updates' : 'updatesextend'),
  4.                                     'tribu_itemid'          =>  $item['Item']['id'],
  5.                                     'tribu_productid'       =>  $item['Product']['id'],
  6.                                     'tribu_quantity'        =>  ((int) $this -> data['Item']['period'] / 3),
  7.                                     'sid'                   =>  CO_VENDORID,
  8.                                     'product_id'            =>  $tcproductid,
  9.                                     'quantity'              =>  $tcquantity,
  10.                                     'demo'                  =>  "N",
  11.                                     'fixed'                 =>  "Y",
  12.                                     'merchant_order_id'     =>  $item['Item']['id'],
  13.                                     'return_url'            =>  CO_PROTOCOL . $_SERVER['HTTP_HOST'] . '/cart/finish/',
  14.                                     'x_receipt_link_url'    =>  CO_PROTOCOL . $_SERVER['HTTP_HOST'] . '/cart/finish/',
  15.                                     'card_holder_name'      =>  $this -> othAuth -> user('fname') . ' ' . $this -> othAuth -> user('lname'),
  16.                                     'street_address'        =>  $this -> othAuth -> user('address'),
  17.                                     'city'                  =>  $this -> othAuth -> user('city'),
  18.                                     'state'                 =>  $this -> othAuth -> user('state'),
  19.                                     'zip'                   =>  $this -> othAuth -> user('zip'),
  20.                                     'country'               =>  $this -> requestAction('/countries/getValueById/' . $this -> othAuth -> user('country_id')),
  21.                                     'email'                 =>  $this -> othAuth -> user('email'),
  22.                                     'phone'                 =>  $this -> othAuth -> user('phone'),
  23.                                     'skip_landing'          =>  "1",
  24.                                 );
Advertisement
Add Comment
Please, Sign In to add comment