From 381413c2cf0ace391e16a1f88ec226dbd26e83e6 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Mon, 7 Aug 2017 14:27:51 -0400 Subject: [PATCH] Update the calls for cust_order properties Updating the ones Chuck had commented out. --- classes/glmMesGateway.php | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/classes/glmMesGateway.php b/classes/glmMesGateway.php index 7be41a7..09b384d 100644 --- a/classes/glmMesGateway.php +++ b/classes/glmMesGateway.php @@ -1070,26 +1070,26 @@ class GlmMesGateway extends WC_Payment_Gateway /* * Other data available from WooCommerce * - * $this->cust_order->billing_first_name, - * $this->cust_order->billing_last_name, - * $this->cust_order->billing_address_1, - * $this->cust_order->billing_city, - * $this->cust_order->billing_state, - * $this->cust_order->billing_postcode, - * $this->cust_order->billing_country, - * $this->cust_order->billing_phone, - * $this->cust_order->billing_email, + * $this->cust_order->get_billing_first_name(), + * $this->cust_order->get_billing_last_name(), + * $this->cust_order->get_billing_address_1(), + * $this->cust_order->get_billing_city(), + * $this->cust_order->get_billing_state(), + * $this->cust_order->get_billing_postcode(), + * $this->cust_order->get_billing_country(), + * $this->cust_order->get_billing_phone(), + * $this->cust_order->get_billing_email(), * - * $this->cust_order->shipping_first_name, - * $this->cust_order->shipping_last_name, - * $this->cust_order->shipping_company, - * $this->cust_order->shipping_address_1, - * $this->cust_order->shipping_city, - * $this->cust_order->shipping_country, - * $this->cust_order->shipping_state, - * $this->cust_order->shipping_postcode, + * $this->cust_order->get_shipping_first_name(), + * $this->cust_order->get_shipping_last_name(), + * $this->cust_order->get_shipping_company(), + * $this->cust_order->get_shipping_address_1(), + * $this->cust_order->get_shipping_city(), + * $this->cust_order->get_shipping_country(), + * $this->cust_order->get_shipping_state(), + * $this->cust_order->get_shipping_postcode(), * - * $this->cust_order->user_id, + * $this->cust_order->get_user_id(), * */ -- 2.17.1