mirror of
https://git.wownero.com/wownero/wownerowp.git
synced 2024-08-15 01:03:16 +00:00
text formatting
This commit is contained in:
parent
acc6b0d91c
commit
39361a247b
1 changed files with 2 additions and 2 deletions
|
@ -578,10 +578,10 @@ class Monero_Gateway extends WC_Payment_Gateway
|
||||||
$order = wc_get_order($order_id);
|
$order = wc_get_order($order_id);
|
||||||
|
|
||||||
if($this->is_virtual_in_cart($order_id) == true){
|
if($this->is_virtual_in_cart($order_id) == true){
|
||||||
$order->update_status('completed', __('Payment has been received' . $payment_id, 'monero_gateway'));
|
$order->update_status('completed', __('Payment has been received. Payment ID: ' . $payment_id, 'monero_gateway'));
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
$order->update_status('processing', __('Payment has been received' . $payment_id, 'monero_gateway')); // Show payment id used for order
|
$order->update_status('processing', __('Payment has been received. Payment ID: ' . $payment_id, 'monero_gateway')); // Show payment id used for order
|
||||||
}
|
}
|
||||||
global $wpdb;
|
global $wpdb;
|
||||||
$wpdb->query("DROP TABLE $payment_id"); // Drop the table from database after payment has been confirmed as it is no longer needed
|
$wpdb->query("DROP TABLE $payment_id"); // Drop the table from database after payment has been confirmed as it is no longer needed
|
||||||
|
|
Loading…
Reference in a new issue