Site maintenance: Sun 15 Nov, from 12:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / Addon Payment Modules / Globill Module Help Needed ?

Globill Module Help Needed ?

Locked

Started by bobmatt4u on 9 Jul 2009, 3:27 PM · Views: 943

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
9 Jul 2009, 3:27 PM
#1
bobmatt4u avatar

bobmatt4u

New Zenner

Join Date:
Jun 2009
Posts:
21
Plugin Contributions:
0

Globill Module Help Needed ?

Hello,

I am using Zencart 1.3.8a and using globill as payment gateway.

Right now its working perfectly i can send user details and order number to globill. what i also wanna send clients order details like Item Name, quantity, Price , Shipping Price and Total Price.

globil is using this : -

$process_button_string = zen_draw_hidden_field('MEWid', MODULE_PAYMENT_GLOBILL_ID) .
zen_draw_hidden_field('email', $order->customer['email_address']) .
zen_draw_hidden_field('firstname', $order->billing['firstname']) .
zen_draw_hidden_field('lastname', $order->billing['lastname']) .
zen_draw_hidden_field('Cid', $cartId) .
zen_draw_hidden_field('streetaddress', $order->billing['street_address']) .
zen_draw_hidden_field('post_zip', $order->billing['postcode']) .
zen_draw_hidden_field('city', $order->billing['city']) .
zen_draw_hidden_field('state_region', $order->billing['state']) .
zen_draw_hidden_field('phonecountry', '0') .
zen_draw_hidden_field('phonearea', '0') .
zen_draw_hidden_field('phonenumber', $order->customer['telephone']) .
zen_draw_hidden_field('countrycode', $order->billing['country']['iso_code_2']).
zen_draw_hidden_field('amount', $order->info['total']) ;

  return $process_button_string;

I want to add that While loop to get order item details from cart, session or DB and Draw Hidden Feild..
zen_draw_hidden_field('itemname', $itemname->info['itemname']) ;
zen_draw_hidden_field('quanitity', $quanitity->info['quanitity']) ;
zen_draw_hidden_field('Shipping -charges', $shipcharge->info['ship charge']) ;

How can i do this how can i run while loop to get the no of items client added in cart.

Thanks

10 Jul 2009, 5:32 AM
#2
bobmatt4u avatar

bobmatt4u

New Zenner

Join Date:
Jun 2009
Posts:
21
Plugin Contributions:
0

Re: Globill Module Help Needed ?

bobmatt4u:

Hello,

I am using Zencart 1.3.8a and using globill as payment gateway.

Right now its working perfectly i can send user details and order number to globill. what i also wanna send clients order details like Item Name, quantity, Price , Shipping Price and Total Price.

globil is using this : -

$process_button_string = zen_draw_hidden_field('MEWid', MODULE_PAYMENT_GLOBILL_ID) .
zen_draw_hidden_field('email', $order->customer['email_address']) .
zen_draw_hidden_field('firstname', $order->billing['firstname']) .
zen_draw_hidden_field('lastname', $order->billing['lastname']) .
zen_draw_hidden_field('Cid', $cartId) .
zen_draw_hidden_field('streetaddress', $order->billing['street_address']) .
zen_draw_hidden_field('post_zip', $order->billing['postcode']) .
zen_draw_hidden_field('city', $order->billing['city']) .
zen_draw_hidden_field('state_region', $order->billing['state']) .
zen_draw_hidden_field('phonecountry', '0') .
zen_draw_hidden_field('phonearea', '0') .
zen_draw_hidden_field('phonenumber', $order->customer['telephone']) .
zen_draw_hidden_field('countrycode', $order->billing['country']['iso_code_2']).
zen_draw_hidden_field('amount', $order->info['total']) ;

  return $process_button_string;

I want to add that While loop to get order item details from cart, session or DB and Draw Hidden Feild..
zen_draw_hidden_field('itemname', $itemname->info['itemname']) ;
zen_draw_hidden_field('quanitity', $quanitity->info['quanitity']) ;
zen_draw_hidden_field('Shipping -charges', $shipcharge->info['ship charge']) ;

How can i do this how can i run while loop to get the no of items client added in cart.

Thanks

Any specific reason to remove my this thread.

Thanks