Skip to content

Commit

Permalink
Release 1.0.50
Browse files Browse the repository at this point in the history
  • Loading branch information
edgaraswallee committed Sep 1, 2022
1 parent 3ed906a commit a9ce361
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ 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

Support queries can be issued on the [wallee support site](https://app-wallee.com/space/select?target=/support).

## License

Please see the [license file](https://github.com/wallee-payment/opencart-3.0/blob/1.0.49/LICENSE) for more information.
Please see the [license file](https://github.com/wallee-payment/opencart-3.0/blob/1.0.50/LICENSE) for more information.
2 changes: 1 addition & 1 deletion docs/en.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions docs/en/documentation.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ <h2>Documentation</h2> </div>
</a>
</li>
<li>
<a href="https://github.com/wallee-payment/opencart-3.0/releases/tag/1.0.49/">
<a href="https://github.com/wallee-payment/opencart-3.0/releases/tag/1.0.50/">
Source
</a>
</li>
Expand All @@ -49,7 +49,7 @@ <h1>
<div class="olist arabic">
<ol class="arabic">
<li>
<p><a href="https://github.com/wallee-payment/opencart-3.0/releases/tag/1.0.49/">Download</a> the extension.</p>
<p><a href="https://github.com/wallee-payment/opencart-3.0/releases/tag/1.0.50/">Download</a> the extension.</p>
</li>
<li>
<p>Extract the files and upload the content of the <code>Upload</code> directory into the root directory of your store using FTP/SSH.</p>
Expand Down
4 changes: 2 additions & 2 deletions upload/admin/view/template/extension/payment/wallee.twig
Original file line number Diff line number Diff line change
Expand Up @@ -288,14 +288,14 @@
<div class="form-group">
<label class="col-sm-2 control-label">{{ entry_version }}</label>
<div class="col-sm-10">
<p class="form-control-static">1.0.49</p>
<p class="form-control-static">1.0.50</p>
</div>
</div>

<div class="form-group">
<label class="col-sm-2 control-label">{{ entry_date }}</label>
<div class="col-sm-10">
<p class="form-control-static">2022/08/11 13:06:08</p>
<p class="form-control-static">2022/09/01 12:40:05</p>
</div>
</div>
</fieldset>
Expand Down
10 changes: 5 additions & 5 deletions upload/system/library/wallee/service/transaction.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a9ce361

Please sign in to comment.