From 6a7efbf0301be617178401736b0fab1204d4f702 Mon Sep 17 00:00:00 2001 From: fatsifont2 Date: Fri, 7 Oct 2016 12:51:51 +0200 Subject: [PATCH] send shipping address to gf api --- .../GetFinancing/Model/Payment/Processor/GetFinancing.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/GetFinancing-GetFinancing-v5_2_0/classes/XLite/Module/GetFinancing/GetFinancing/Model/Payment/Processor/GetFinancing.php b/GetFinancing-GetFinancing-v5_2_0/classes/XLite/Module/GetFinancing/GetFinancing/Model/Payment/Processor/GetFinancing.php index 767e2af..bc20263 100644 --- a/GetFinancing-GetFinancing-v5_2_0/classes/XLite/Module/GetFinancing/GetFinancing/Model/Payment/Processor/GetFinancing.php +++ b/GetFinancing-GetFinancing-v5_2_0/classes/XLite/Module/GetFinancing/GetFinancing/Model/Payment/Processor/GetFinancing.php @@ -206,10 +206,10 @@ protected function getFormFields() 'first_name' => $this->getProfile()->getBillingAddress()->getFirstname(), 'last_name' => $this->getProfile()->getBillingAddress()->getLastname(), 'shipping_address' => array( - 'street1' => $this->getProfile()->getBillingAddress()->getStreet(), - 'city' => $this->getProfile()->getBillingAddress()->getCity(), - 'state' => $this->getProfile()->getBillingAddress()->getState()->getCode(), - 'zipcode' => $this->getProfile()->getBillingAddress()->getZipcode() + 'street1' => $this->getProfile()->getShippingAddress()->getStreet(), + 'city' => $this->getProfile()->getShippingAddress()->getCity(), + 'state' => $this->getProfile()->getShippingAddress()->getState()->getCode(), + 'zipcode' => $this->getProfile()->getShippingAddress()->getZipcode() ), 'billing_address' => array( 'street1' => $this->getProfile()->getBillingAddress()->getStreet(),