Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ PrestaShop 1.6.x, 1.7.x and 8.x

# Changelog

## [3.9.3]
### Fixed
- Fix: Apple Pay success page not displaying in PrestaShop 8.2.

## [3.9.2]
### Fixed
- Automatically create templates for each active language for email translations.
Expand Down
2 changes: 1 addition & 1 deletion altapay.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function __construct()
{
$this->name = 'altapay';
$this->tab = 'payments_gateways';
$this->version = '3.9.2';
$this->version = '3.9.3';
$this->author = 'AltaPay A/S';
$this->is_eu_compatible = 1;
$this->ps_versions_compliancy = ['min' => '1.6.0.1', 'max' => '8.2.1'];
Expand Down
2 changes: 1 addition & 1 deletion config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<module>
<name>altapay</name>
<displayName><![CDATA[AltaPay for PrestaShop]]></displayName>
<version><![CDATA[3.9.2]]></version>
<version><![CDATA[3.9.3]]></version>
<description><![CDATA[AltaPay: Payments less complicated]]></description>
<author><![CDATA[AltaPay A/S]]></author>
<tab><![CDATA[payments_gateways]]></tab>
Expand Down
12 changes: 11 additions & 1 deletion controllers/front/payment.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,17 @@ public function initContent()
saveReconciliationDetails($result['response'], $currentOrder);
$response = [
'status' => $result['response']->Result,
'redirectUrl' => 'index.php?controller=order-confirmation&id_cart=' . (int) $cart->id . '&id_module=' . (int) $this->module->id . '&id_order=' . $currentOrder->id . '&key=' . $customer->secure_key,
'redirectUrl' => $this->context->link->getPageLink(
'order-confirmation',
true,
null,
[
'id_cart' => (int) $cart->id,
'id_module' => (int) $this->module->id,
'id_order' => (int) $currentOrder->id,
'key' => $customer->secure_key,
]
),
];
echo json_encode($response);
exit();
Expand Down
2 changes: 1 addition & 1 deletion helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
function transactionInfo($transactionInfo = [])
{
$pluginName = 'altapay';
$pluginVersion = '3.9.2';
$pluginVersion = '3.9.3';

// Transaction info
$transactionInfo['ecomPlatform'] = 'PrestaShop';
Expand Down