mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix for offsite payments w/subdomains
This commit is contained in:
parent
c7eb38c3ff
commit
3957b8a92b
@ -359,7 +359,7 @@ class BasePaymentDriver
|
||||
{
|
||||
$invoice = $this->invoice();
|
||||
$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 = [
|
||||
'amount' => $invoice->getRequestedAmount(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user