Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $fields = array(
- 'tribu_paymentmethod' => 'twocheckout',
- 'tribu_type' => (($updatetype == "renew") ? 'updates' : 'updatesextend'),
- 'tribu_itemid' => $item['Item']['id'],
- 'tribu_productid' => $item['Product']['id'],
- 'tribu_quantity' => ((int) $this -> data['Item']['period'] / 3),
- 'sid' => CO_VENDORID,
- 'product_id' => $tcproductid,
- 'quantity' => $tcquantity,
- 'demo' => "N",
- 'fixed' => "Y",
- 'merchant_order_id' => $item['Item']['id'],
- 'return_url' => CO_PROTOCOL . $_SERVER['HTTP_HOST'] . '/cart/finish/',
- 'x_receipt_link_url' => CO_PROTOCOL . $_SERVER['HTTP_HOST'] . '/cart/finish/',
- 'card_holder_name' => $this -> othAuth -> user('fname') . ' ' . $this -> othAuth -> user('lname'),
- 'street_address' => $this -> othAuth -> user('address'),
- 'city' => $this -> othAuth -> user('city'),
- 'state' => $this -> othAuth -> user('state'),
- 'zip' => $this -> othAuth -> user('zip'),
- 'country' => $this -> requestAction('/countries/getValueById/' . $this -> othAuth -> user('country_id')),
- 'email' => $this -> othAuth -> user('email'),
- 'phone' => $this -> othAuth -> user('phone'),
- 'skip_landing' => "1",
- );
Advertisement
Add Comment
Please, Sign In to add comment