fix
This commit is contained in:
parent
f3f8a62a18
commit
e714e87ad6
@ -139,15 +139,13 @@ function getSubscriptionLink()
|
|||||||
$name = auth()->user()->name ?? null;
|
$name = auth()->user()->name ?? null;
|
||||||
$url = "https://store.coollabs.io/checkout/buy/d0b28c6a-9b57-40bf-8b84-89fbafde6526?";
|
$url = "https://store.coollabs.io/checkout/buy/d0b28c6a-9b57-40bf-8b84-89fbafde6526?";
|
||||||
if ($user_id) {
|
if ($user_id) {
|
||||||
$url .= "checkout[custom][user_id]={$user_id}";
|
$url .= "&checkout[custom][user_id]={$user_id}";
|
||||||
}
|
}
|
||||||
if ($email) {
|
if ($email) {
|
||||||
$url .= "?checkout[email]={$email}";
|
$url .= "&checkout[email]={$email}";
|
||||||
}
|
}
|
||||||
if ($name) {
|
if ($name) {
|
||||||
$url .= "&checkout[name]={$name}";
|
$url .= "&checkout[name]={$name}";
|
||||||
}
|
}
|
||||||
$url = "?checkout[custom][user_id]={$user_id}&checkout[email]={$email}&checkout[name]={$name}";
|
|
||||||
ray($url);
|
|
||||||
return $url;
|
return $url;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user