News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

SOLVED - Confirmed vs Pending order status in 2.6.10

Started by scottshort, September 16, 2014, 18:44:39 PM

Previous topic - Next topic

John2400

No scott, just standard default. No extensions in this shop.

GJC Web Design

this code you asked about is in:

$modelOrder = VmModel::getModel ('orders');
      $order['order_status'] = $this->getNewStatus ($method);
      $order['customer_notified'] = 1;
      $order['comments'] = '';
      $modelOrder->updateStatusForOneOrder ($order['details']['BT']->virtuemart_order_id, $order, TRUE);

      //We delete the old stuff
      $cart->emptyCart ();
      vRequest::setVar ('html', $html);
      return TRUE;


is in plugins/vmpayment/standard/standard.php
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

scottshort

Hello all

Just an update to say that we have discovered from Stan at Rupostel that our version of One Page Checkout was not updated and was incompatible with versions of VM 2.6.x.  The version we are running is  2.0.147.130613  and the new version which is compatible with 2.6.10 is 2.0.258.180914.  We have installed updated OPC on our test site and now orders successfully pass through system with cart clearing and correct order status present.  So at this point our major problem is considered solved and we can move on with updating our live site.

The only anomaly that I have now, is that in addition to receiving an email [to shop admin] stating that order has been placed with "confirmed by shopper" status [which can also be seen in backend], we also receive a second email with exact time stamp showing same order, same order number but with "pending" status.  Nowhere in VM have I selected to receive emails for any pending status [only for confirmed statuses]... so I am at a loss as to why this extra email is being sent... will see if Rupostel has any suggestions as to why this extra email is being sent...

Regards all,
Scott

Best Regards,
Scott

Live site Joomla 2.5.24; PHP 5.3.28; VM 2.0.24a
Testing VM 2.6.0; 2.6.6