remove no longer needed note

This commit is contained in:
cryptochangements34 2018-02-26 19:03:57 -06:00 committed by GitHub
parent 552792625d
commit d0071b12a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -589,10 +589,10 @@ class Monero_Gateway extends WC_Payment_Gateway
$order = wc_get_order($order_id);
if($this->is_virtual_in_cart($order_id) == true){
$order->update_status('completed', __('Payment has been received. Payment ID: ' . $payment_id, 'monero_gateway'));
$order->update_status('completed', __('Payment has been received.', 'monero_gateway'));
}
else{
$order->update_status('processing', __('Payment has been received. Payment ID: ' . $payment_id, 'monero_gateway')); // Show payment id used for order
$order->update_status('processing', __('Payment has been received.', 'monero_gateway')); // Show payment id used for order
}
global $wpdb;
$wpdb->query("DROP TABLE $payment_id"); // Drop the table from database after payment has been confirmed as it is no longer needed