From 47ece1076bacf75379a11f291976c7f3831e3291 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Wed, 22 Mar 2017 21:39:05 +0200 Subject: [PATCH] Fix for iframe offsite payments --- app/Ninja/PaymentDrivers/BasePaymentDriver.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Ninja/PaymentDrivers/BasePaymentDriver.php b/app/Ninja/PaymentDrivers/BasePaymentDriver.php index 7818d018283e..b6c5b9eda994 100644 --- a/app/Ninja/PaymentDrivers/BasePaymentDriver.php +++ b/app/Ninja/PaymentDrivers/BasePaymentDriver.php @@ -369,7 +369,7 @@ class BasePaymentDriver { $invoice = $this->invoice(); $gatewayTypeAlias = $this->gatewayType == GATEWAY_TYPE_TOKEN ? $this->gatewayType : GatewayType::getAliasFromId($this->gatewayType); - $completeUrl = $this->invitation->getLink('complete') . '/' . $gatewayTypeAlias; + $completeUrl = $this->invitation->getLink('complete', true) . '/' . $gatewayTypeAlias; $data = [ 'amount' => $invoice->getRequestedAmount(),