Fix code for deployment
This commit is contained in:
parent
08690a29a5
commit
2e8aaa1f1a
1 changed files with 3 additions and 3 deletions
|
@ -190,7 +190,7 @@ function zgopmt_init() {
|
|||
$oid = json_decode($body);
|
||||
$isvalid = $oid->{'authorized'};
|
||||
break;
|
||||
case 202:git
|
||||
case 202:
|
||||
$body = wp_remote_retrieve_body($response );
|
||||
$oid = json_decode($body);
|
||||
break;
|
||||
|
@ -239,7 +239,7 @@ function zgopmt_init() {
|
|||
// Save ZGo Order ID and Cart order
|
||||
//
|
||||
$sql3 = $wpdb->prepare('replace into zgo_payments (pmt_orderid, pmt_wc_order, pmt_wc_custname, pmt_accepted, pmt_confirmed, pmt_amount, pmt_rate, pmt_zec, pmt_wc_paid) values (%s, %s, %s, %s, %s, %f, 0, 0, 0);',
|
||||
$zgoOrderid, $order_id, $order-<get_billing_first_name() . ' ' . $order->get_billing_last_name(), date('Y-m-d H:i:s'), '', $order->get_total())
|
||||
$zgoOrderid, $order_id, $order->get_billing_first_name() . ' ' . $order->get_billing_last_name(), date('Y-m-d H:i:s'), '', $order->get_total());
|
||||
//$sql = "replace into zgo_payments (" .
|
||||
//"pmt_orderid," .
|
||||
//"pmt_wc_order," .
|
||||
|
|
Loading…
Reference in a new issue