Forums / Addon Payment Modules / Probelm with Orders and order Confirmation Email using globill module

Probelm with Orders and order Confirmation Email using globill module

Locked

Views: 3,089

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
9 Jul 2009, 9:04 AM
#1
bobmatt4u avatar

bobmatt4u

New Zenner

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

Probelm with Orders and order Confirmation Email using globill module

Hello,

I have setup my online zencart shop perfectlly and also set a globill as payment gateway.

But the problem is when some one generates an order .. it will show me the user registration details in Admin > Customers

But its not showing me the orders details in Admin > Orders.. even when i see the database through myphp admin orders table in db is empty.

And even there is no email confirmation of orders to my email as well as to cleint email etc .. but client can register > confirm order and even pay for particluar product in globill gateway .. i get the confirmation from my gateway that order confirmation and payment is done.

But i am not able to see order details in zencart Admin or through my email..

please suggest what is the problem.

Thanks

9 Jul 2009, 12:34 PM
#2
bobmatt4u avatar

bobmatt4u

New Zenner

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

Re: Probelm with Orders and order Confirmation Email using globill module

I am using Zen Cart 1.3.8a
Database Patch Level: 1.3.8

When user register with my site using registration form zencart script send email to user ... but when use confirm order and even make a payment we receive no email confirmation as well as nothing in Admin > Customers > orders > All

Thanks

9 Jul 2009, 9:30 PM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Probelm with Orders and order Confirmation Email using globill module

That sounds like there may be some sort of bug or error occurring when the customer is making payment ... which means the problem is likely in the payment module you're using.
Zen Cart doesn't store the order details until the payment module says the payment has been made and acknowledged. If a problem occurs after the actual payment is made and before the module can tell Zen Cart that they payment was completed, then you'll never see the order.
You'll have to address the error in the addon in order to fix whatever problem you're experiencing.

You might find the debug-logging utility mentioned in this FAQ to be of some help: https://www.zen-cart.com/tutorials/index.php?article=82

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

10 Jul 2009, 5:27 AM
#4
bobmatt4u avatar

bobmatt4u

New Zenner

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

Re: Probelm with Orders and order Confirmation Email using globill module

DrByte:

That sounds like there may be some sort of bug or error occurring when the customer is making payment ... which means the problem is likely in the payment module you're using.
Zen Cart doesn't store the order details until the payment module says the payment has been made and acknowledged. If a problem occurs after the actual payment is made and before the module can tell Zen Cart that they payment was completed, then you'll never see the order.
You'll have to address the error in the addon in order to fix whatever problem you're experiencing.

You might find the debug-logging utility mentioned in this FAQ to be of some help: https://www.zen-cart.com/tutorials/index.php?article=82

I have done that debug-logging part also.

  1. Uploaded the enclosed enable_error_logging.php file to the /includes/extra_configures/ folder.

  2. Also make sure that /cache/ folder permissions are set to writable.

  3. Test the page on the site that is having problems -- i did all things from registration > log in > checkout page > confirm order.

  4. Open the latest /cache/ but i didn't found any myDEBUG-xxxxxxx.log file under this folder.

Please suggest,

Thanks

10 Jul 2009, 10:50 AM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Probelm with Orders and order Confirmation Email using globill module

Sounds like something may be wrong with the globill addon you're using.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

10 Jul 2009, 12:07 PM
#6
bobmatt4u avatar

bobmatt4u

New Zenner

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

Re: Probelm with Orders and order Confirmation Email using globill module

Attached is the globill module which i get it from globill admin.

Please let me know whats wrong with that.

One thing more : -

i can send user details and order number to globill. but i also wanna send client order details like Item Name, quantity, Price , Shipping Price and Total Price.

globill 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.

I asked this question in Payment Module section they moved my thread

Thanks

7 Oct 2009, 5:24 AM
#7
dachilla avatar

dachilla

New Zenner

Join Date:
Feb 2006
Posts:
66
Plugin Contributions:
1

Re: Probelm with Orders and order Confirmation Email using globill module

Hi, I am using globill as well! I had the same problem and figgured the following:

The Problem is not the Module, the module works fine. You have to change your settings at globill.net.

Solution:

  1. Log into your Globill.net account

  2. Go to My Websites and click +show on the left next to your website

  3. Scroll down to redirection an open it

  4. Activate Redirection and Redirect to: ht tp://ww w.yourdomain.com/ZENCART-FOLDER/index.php?main_page=checkout_process

Works perfect. Customer gets order confirmation email and you get your customers safed in admin. Shopping cart is empty after purchase.

Greetz

D.C.

19 Nov 2009, 3:19 AM
#8
twg avatar

twg

New Zenner

Join Date:
Apr 2006
Posts:
10
Plugin Contributions:
0

Re: Probelm with Orders and order Confirmation Email using globill module

I am also having the same issues. Customer can checkout and pay using Globill but there are times when customer checkout and pay successfully but order confirmation is not logged in to the webstore admin and in the end, I get the email from Globill.com on the payment done OK without any cart details at all. The scripting for the Zencart globill payment module is pretty lousy.. there is no Shopping Cart details given in the Globill payment. No items shown.. No product codes shown..

In the end, I have to email each and every customer to get the details of Delivery address and items ordered.

Anyone has a better Globill module which has been modified to get the Shopping Cart details?

ANDY