You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if ( $order = (int)Order::getOrderByCartId($cart_id)) {
58
-
error_log('[Error] The Plugin was called but could not retrieve the cart details for cart_id: "' . $cart_id . '". If you use an alternative order numbering system, please see class-wc-gateway-cryptomarket.php to apply a search filter.');
59
-
thrownew \Exception('The Plugin was called but could not retrieve the cart details for cart_id ' . $cart_id . '. Cannot continue!');
60
-
} else {
61
-
error_log('[Info] Order details retrieved successfully...');
62
-
}
55
+
$order_id = $payload->external_id; error_log('[Info] Order ID:' . $order_id);
63
56
64
57
switch ($payload->status) {
65
58
case"-4":
66
-
error_log('[Info] Pago múltiple. Cart ID:'.$cart_id);
<p>{l s='Your order on %s is complete.'sprintf=$shop_namemod='cryptomarket'}
3
-
<br /><br /> <strong>{l s='Your order will be sent as soon as your payment is confirmed by the Ethereum network.'mod='bitpay'}</strong>
4
-
<br /><br />{l s='If you have questions, comments or concerns, please contact our'mod='cryptomarket'} <ahref="{$link->getPageLink('contact', true)|escape:'html'}">{l s='expert customer support team. 'mod='cryptomarket'}</a>
2
+
<p>{l s='Your order is complete.'sprintf=$shop_namemod='cryptomarket'}
3
+
<br /><br /> <strong>{l s='Your order will be sent as soon as your payment is confirmed by the Ethereum|Bitcoin|Stellar network.'mod='cryptomarket'}</strong>
4
+
<br /><br />{l s='If you have questions, comments or concerns, please contact our to'mod='cryptomarket'} <ahref="{$link->getPageLink('contact', true)|escape:'html'}">{l s='Contact us'mod='cryptomarket'}</a>
5
5
</p>
6
6
{else}
7
7
<pclass="warning">
8
8
{l s="We noticed a problem with your order. If you think this is an error, feel free to contact our"mod='cryptomarket'}
9
-
<ahref="{$link->getPageLink('contact', true)|escape:'html'}">{l s='expert customer support team. 'mod='cryptomarket'}</a>.
0 commit comments