mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Fix for offsite payments w/subdomains
This commit is contained in:
parent
2a7dec8893
commit
54275853fd
@ -364,7 +364,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 = url('complete/' . $this->invitation->invitation_key . '/' . $gatewayTypeAlias);
|
$completeUrl = $this->invitation->getLink('complete') . '/' . $gatewayTypeAlias;
|
||||||
|
|
||||||
$data = [
|
$data = [
|
||||||
'amount' => $invoice->getRequestedAmount(),
|
'amount' => $invoice->getRequestedAmount(),
|
||||||
|
Loading…
Reference in New Issue
Block a user