it just sits there. Then the Customer hits it again and I get doubled orders..
Anyone have any help for this. It just started happening.
I've turned off any mods I have and I still get the issue,
I've upgraded to 1.5.5.1 and it still is there.
please need some help and a direction to go to trouble shoot.
thanks
Ziggy
http://forum.opencart.com/viewtopic.php ... rm#p405205
After trying , turning off VQmods I still had the problem.
I also then started looking at the system error logs. After fixing a few problems with my template,"I also tried the stock default template and I get the same errors" I've got it down to these two errors.
Code: Select all
2013-05-23 18:28:50 - PHP Notice: Undefined variable: package_data in /home1/zigzterc/public_html/shop/vqmod/vqcache/vq2-catalog_model_checkout_order.php on line 444
2013-05-23 18:28:50 - PHP Warning: Invalid argument supplied for foreach() in /home1/zigzterc/public_html/shop/vqmod/vqcache/vq2-catalog_view_theme_default_template_mail_order.tpl on line 85
Code: Select all
$text .= $language->get('text_new_products') . "\n";
foreach ($order_product_query->rows as $product) {
$text .= $product['quantity'] . 'x ' . $product['name'] . ' (' . $product['model'] . ') ' . html_entity_decode($this->currency->format($product['total'] + ($this->config->get('config_tax') ? ($product['tax'] * $product['quantity']) : 0), $order_info['currency_code'], $order_info['currency_value']), ENT_NOQUOTES, 'UTF-8') . "\n";
$order_option_query = $this->db->query("SELECT * FROM " . DB_PREFIX . "order_option WHERE order_id = '" . (int)$order_id . "' AND order_product_id = '" . $product['order_product_id'] . "'");
Code: Select all
foreach ($order_product_query->rows as $product) {
Still only getting to success after 2 or three clicks of the confirm. and it makes that many orders.
Arghhh. I just don't know what else to do here. I don't think I'm hacked but who knows.
after upgrading the files you think it would go away.
anyway.. Help!!!!!
Not catalog_model_checkout_order.php but vq2-catalog_model_checkout_order.php file under the specified path, on line 444, can you post between those lines - 443 to 448?2013-05-23 18:28:50 - PHP Notice: Undefined variable: package_data in /home1/zigzterc/public_html/shop/vqmod/vqcache/vq2-catalog_model_checkout_order.php on line 444
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Code: Select all
foreach ($order_product_query->rows as $product) {
$text .= $product['quantity'] . 'x ' . $product['name'] . ' (' . $product['model'] . ') ' . html_entity_decode($this->currency->format($product['total'] + ($this->config->get('config_tax') ? ($product['tax'] * $product['quantity']) : 0), $order_info['currency_code'], $order_info['currency_value']), ENT_NOQUOTES, 'UTF-8') . "\n";
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Code: Select all
foreach ($order_product_query->rows as $product) {
$text .= $product['quantity'] . 'x ' . $product['name'] . ' (' . $product['model'] . ') ' . html_entity_decode($this->currency->format($product['total'] + ($this->config->get('config_tax') ? ($product['tax'] * $product['quantity']) : 0), $order_info['currency_code'], $order_info['currency_value']), ENT_NOQUOTES, 'UTF-8') . "\n";
$order_option_query = $this->db->query("SELECT * FROM " . DB_PREFIX . "order_option WHERE order_id = '" . (int)$order_id . "' AND order_product_id = '" . $product['order_product_id'] . "'");
$order_package_query = $this->db->query("SELECT * FROM " . DB_PREFIX . "order_bundle WHERE order_id = '" . (int)$order_id . "'");
foreach ($order_package_query->rows as $package) {
$text .= chr(9) . $package['quantity'] . ' x ' . $package['name'] . "\n";
}
foreach ($order_option_query->rows as $option) {
$text .= chr(9) . '-' . $option['name'] . ' ' . (utf8_strlen($option['value']) > 20 ? utf8_substr($option['value'], 0, 20) . '..' : $option['value']) . "\n";
}
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
I'll attach the file if you want to look at it.
find:
Code: Select all
$option_package = array();
Code: Select all
$package_data = array();
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
straightlight wrote:In the XML source file where your sent file must be affected,
find:
replace with:Code: Select all
$option_package = array();
Code: Select all
$package_data = array();
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
From which route name and step do you notice that PayPal bills your customers twice exactly from your store?dweiser wrote:I am having similar issues with Paypal being billed twice, but only one order in OC. I looked for the file, Vqmod_product_bundle.xml but don't have it. Any ideas?
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Have read various posts about this issue and I too am having the duplicate payment problem with Paypal Pro. When confirm order is clicked, it just hangs so customers click it again - THEN it finally goes to the confirmation page but the payment is processed twice. I don't have a VQMod for product bundles.
Also the site sends NO ORDER CONFIRMATION email.
Does anyone have any other info or ideas on what the cause for this is?
Many thanks
Chris
My CONFIRM ORDER button is totally white and nearly invisible sometimes (corrected for now via CSS, this may just be my theme, even though its a paid/premium theme: tellus-pro)
Orders do not go through on the first click
On the second click, I get dupe orders, sometimes even triples.
Please help, I'm running the latest version!
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Users browsing this forum: Amazon [Bot] and 144 guests