Skip to content

Commit

Permalink
Release 1.0.52
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewrowanwallee committed Oct 24, 2022
1 parent e9335e1 commit 2889076
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 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 PostFinance Checkout payment module that

## Documentation

* [English](https://plugin-documentation.postfinance-checkout.ch/pfpayments/opencart-2.3/1.0.51/docs/en/documentation.html)
* [English](https://plugin-documentation.postfinance-checkout.ch/pfpayments/opencart-2.3/1.0.52/docs/en/documentation.html)

## Support

Support queries can be issued on the [PostFinance Checkout support site](https://www.postfinance.ch/en/business/support.html).

## License

Please see the [license file](https://github.com/pfpayments/opencart-2.3/blob/1.0.51/LICENSE) for more information.
Please see the [license file](https://github.com/pfpayments/opencart-2.3/blob/1.0.52/LICENSE) for more information.
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/pfpayments/opencart-2.3/releases/tag/1.0.51/">
<a href="https://github.com/pfpayments/opencart-2.3/releases/tag/1.0.52/">
Source
</a>
</li>
Expand All @@ -49,7 +49,7 @@ <h1>
<div class="olist arabic">
<ol class="arabic">
<li>
<p><a href="https://github.com/pfpayments/opencart-2.3/releases/tag/1.0.51/">Download</a> the extension.</p>
<p><a href="https://github.com/pfpayments/opencart-2.3/releases/tag/1.0.52/">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
Original file line number Diff line number Diff line change
Expand Up @@ -271,14 +271,14 @@
<div class="form-group">
<label class="col-sm-2 control-label"><?php echo $entry_version; ?></label>
<div class="col-sm-10">
<p class="form-control-static">1.0.51</p>
<p class="form-control-static">1.0.52</p>
</div>
</div>

<div class="form-group">
<label class="col-sm-2 control-label"><?php echo $entry_date; ?></label>
<div class="col-sm-10">
<p class="form-control-static">2022/10/07 11:02:14</p>
<p class="form-control-static">2022/10/24 14:53:31</p>
</div>
</div>
</fieldset>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ public function getMethod($address, $total){
return array();
}

// for journal3 one step checkout the user data is empty by default
// i assume this is some oversight by the folks at journal3
$data = $this->registry->get('session')->data;
if(isset($data['j3_checkout_id']) && !isset($this->session->data['user_id'])) {
$this->session->data['user_id'] = $data['j3_checkout_id'];
}

// check if transaction can be saved to the session.
if (\PostFinanceCheckoutHelper::instance($this->registry)->getCustomerSessionIdentifier() === null) {
return array();
Expand Down

0 comments on commit 2889076

Please sign in to comment.