diff --git a/README.md b/README.md index c7b6601..a392738 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ This repository contains the OpenCart wallee payment module that enables the sh ## Documentation -* [English](https://plugin-documentation.wallee.com/wallee-payment/opencart-3.0/1.0.49/docs/en/documentation.html) +* [English](https://plugin-documentation.wallee.com/wallee-payment/opencart-3.0/1.0.50/docs/en/documentation.html) ## Support @@ -21,4 +21,4 @@ Support queries can be issued on the [wallee support site](https://app-wallee.co ## License -Please see the [license file](https://github.com/wallee-payment/opencart-3.0/blob/1.0.49/LICENSE) for more information. \ No newline at end of file +Please see the [license file](https://github.com/wallee-payment/opencart-3.0/blob/1.0.50/LICENSE) for more information. \ No newline at end of file diff --git a/docs/en.adoc b/docs/en.adoc index f0be8eb..ec0ade7 100644 --- a/docs/en.adoc +++ b/docs/en.adoc @@ -11,7 +11,7 @@ == Installation -1. link:https://github.com/wallee-payment/opencart-3.0/releases/tag/1.0.49/[Download] the extension. +1. link:https://github.com/wallee-payment/opencart-3.0/releases/tag/1.0.50/[Download] the extension. 2. Extract the files and upload the content of the `Upload` directory into the root directory of your store using FTP/SSH. 3. Login to the backend of your OpenCart store. 4. Navigate to Extensions -> Payment to install the plugin. diff --git a/docs/en/documentation.html b/docs/en/documentation.html index 5059082..ce871c4 100644 --- a/docs/en/documentation.html +++ b/docs/en/documentation.html @@ -22,7 +22,7 @@

Documentation

  • - + Source
  • @@ -49,7 +49,7 @@

    1. -

      Download the extension.

      +

      Download the extension.

    2. Extract the files and upload the content of the Upload directory into the root directory of your store using FTP/SSH.

      diff --git a/upload/admin/view/template/extension/payment/wallee.twig b/upload/admin/view/template/extension/payment/wallee.twig index f00ee84..f4fda6b 100644 --- a/upload/admin/view/template/extension/payment/wallee.twig +++ b/upload/admin/view/template/extension/payment/wallee.twig @@ -288,14 +288,14 @@
      -

      1.0.49

      +

      1.0.50

      -

      2022/08/11 13:06:08

      +

      2022/09/01 12:40:05

      diff --git a/upload/system/library/wallee/service/transaction.php b/upload/system/library/wallee/service/transaction.php index ed8662e..f2ba879 100644 --- a/upload/system/library/wallee/service/transaction.php +++ b/upload/system/library/wallee/service/transaction.php @@ -488,25 +488,25 @@ private function assembleAddress($source, $prefix = ''){ $address = new \Wallee\Sdk\Model\AddressCreate(); if (isset($source[$prefix . 'city'])) { - $address->setCity($this->getFixedSource($source, $prefix . 'city', 100)); + $address->setCity($this->getFixedSource($source, $prefix . 'city', 100, false)); } if (isset($source[$prefix . 'iso_code_2'])) { $address->setCountry($source[$prefix . 'iso_code_2']); } if (isset($source[$prefix . 'lastname'])) { - $address->setFamilyName($this->getFixedSource($source, $prefix . 'lastname', 100)); + $address->setFamilyName($this->getFixedSource($source, $prefix . 'lastname', 100, false)); } if (isset($source[$prefix . 'firstname'])) { - $address->setGivenName($this->getFixedSource($source, $prefix . 'firstname', 100)); + $address->setGivenName($this->getFixedSource($source, $prefix . 'firstname', 100, false)); } if (isset($source[$prefix . 'company'])) { - $address->setOrganizationName($this->getFixedSource($source, $prefix . 'company', 100)); + $address->setOrganizationName($this->getFixedSource($source, $prefix . 'company', 100, false)); } if (isset($source[$prefix . 'postcode'])) { $address->setPostCode($this->getFixedSource($source, $prefix . 'postcode', 40)); } if (isset($source[$prefix . 'address_1'])) { - $address->setStreet($this->fixLength(trim($source[$prefix . 'address_1'] . "\n" . $source[$prefix . 'address_2']), 300)); + $address->setStreet($this->fixLength(trim($source[$prefix . 'address_1'] . "\n" . $source[$prefix . 'address_2']), 300, false)); } // state is 2-part