Skip to content

Commit

Permalink
fix for eWay payment redirect url
Browse files Browse the repository at this point in the history
  • Loading branch information
gerardadamczewski committed Sep 18, 2018
1 parent 7daf262 commit 4547b90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upload/catalog/controller/extension/payment/eway.php
Expand Up @@ -109,7 +109,7 @@ public function index() {
$request->Payment->InvoiceReference = (string)substr($this->config->get('config_name'), 0, 40) . ' - #' . $order_info['order_id'];
$request->Payment->CurrencyCode = $order_info['currency_code'];

$request->RedirectUrl = $this->url->link('extension/payment/eway/callback', 'language=' . $this->config->get('config_language'));
$request->RedirectUrl = str_replace('&', '&', $this->url->link('extension/payment/eway/callback', 'language=' . $this->config->get('config_language')));
if ($this->config->get('payment_eway_transaction_method') == 'auth') {
$request->Method = 'Authorise';
} else {
Expand Down

0 comments on commit 4547b90

Please sign in to comment.