Plugin Directory

Changeset 2226950


Ignore:
Timestamp:
01/14/2020 07:52:36 AM (6 years ago)
Author:
ibrahimhasanov
Message:

Order status now will be updated as processing instead of success

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uvibapay/trunk/classes/WC_Gateway_UvibaPayment.php

    r2125636 r2226950  
    390390
    391391if($test_mode=='test'){
     392    //test_public_key should there, mistake correct it
     393
    392394    $public_key = $this->settings['payments_card'];
    393395}else{
     
    568570                            $order->reduce_order_stock();
    569571                            $woocommerce->cart->empty_cart();
    570                             $order->update_status('completed');
     572                            //$order->update_status('completed');
     573                            $order->update_status('processing');
    571574                        }
    572575                         
Note: See TracChangeset for help on using the changeset viewer.