mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Updates for subscriptions
This commit is contained in:
parent
6e6cfe5081
commit
c80ec85c61
@ -26,7 +26,9 @@ trait SubscriptionHooker
|
|||||||
'X-Requested-With' => 'XMLHttpRequest',
|
'X-Requested-With' => 'XMLHttpRequest',
|
||||||
];
|
];
|
||||||
|
|
||||||
if (!isset($subscription->webhook_configuration['post_purchase_url']) && !isset($subscription->webhook_configuration['post_purchase_rest_method'])) {
|
$post_purchase_rest_method = &$subscription->webhook_configuration['post_purchase_rest_method'];
|
||||||
|
|
||||||
|
if (!isset($subscription->webhook_configuration['post_purchase_url']) && !$post_purchase_rest_method) {
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user