1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-09 20:52:56 +01:00

Fix for iframe offsite payments

This commit is contained in:
Hillel Coren 2017-03-22 21:39:05 +02:00
parent d5a09683d5
commit 47ece1076b

View File

@ -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(),