Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

Commit

Permalink
send shipping address to gf api
Browse files Browse the repository at this point in the history
  • Loading branch information
afatsini committed Oct 7, 2016
1 parent dc1138c commit 6a7efbf
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 6a7efbf

Please sign in to comment.