}
// Send billing information
- $trans->setAvsRequest($this->cust_order->billing_address_1, $this->cust_order->billing_postcode);
+ $trans->setAvsRequest($this->cust_order->get_billing_address_1(), $this->cust_order->get_billing_postcode());
$trans->setDynamicData(
- $this->cust_order->billing_first_name . ' ' . $this->cust_order->billing_last_name,
- $this->cust_order->billing_city,
- $this->cust_order->billing_state,
- $this->cust_order->billing_postcode,
- $this->cust_order->billing_phone
+ $this->cust_order->get_billing_first_name() . ' ' . $this->cust_order->get_billing_last_name(),
+ $this->cust_order->get_billing_city(),
+ $this->cust_order->get_billing_state(),
+ $this->cust_order->get_billing_postcode(),
+ $this->cust_order->get_billing_phone()
);
// Send shipping infomration
- $trans->setRequestField('ship_first_name', $this->cust_order->shipping_first_name);
- $trans->setRequestField('ship_last_name', $this->cust_order->shipping_last_name);
- $trans->setRequestField('ship_addr1', $this->cust_order->shipping_address_1);
- $trans->setRequestField('ship_city', $this->cust_order->shipping_city);
- $trans->setRequestField('ship_state', $this->cust_order->shipping_state);
- $trans->setRequestField('ship_zip', $this->cust_order->shipping_postcode);
+ $trans->setRequestField('ship_first_name', $this->cust_order->get_shipping_first_name());
+ $trans->setRequestField('ship_last_name', $this->cust_order->get_shipping_last_name());
+ $trans->setRequestField('ship_addr1', $this->cust_order->get_shipping_address_1());
+ $trans->setRequestField('ship_city', $this->cust_order->get_shipping_city());
+ $trans->setRequestField('ship_state', $this->cust_order->get_shipping_state());
+ $trans->setRequestField('ship_zip', $this->cust_order->get_shipping_postcode());
// Send Card data
$trans->setRequestField('cvv2', $this->cc_cvc);