mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix for iframe offsite payments
This commit is contained in:
parent
d5a09683d5
commit
47ece1076b
@ -369,7 +369,7 @@ class BasePaymentDriver
|
|||||||
{
|
{
|
||||||
$invoice = $this->invoice();
|
$invoice = $this->invoice();
|
||||||
$gatewayTypeAlias = $this->gatewayType == GATEWAY_TYPE_TOKEN ? $this->gatewayType : GatewayType::getAliasFromId($this->gatewayType);
|
$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 = [
|
$data = [
|
||||||
'amount' => $invoice->getRequestedAmount(),
|
'amount' => $invoice->getRequestedAmount(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user