mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
Update notes about accessign campaign data in BaseDriver.php
This commit is contained in:
parent
7eb6925c8e
commit
b20b275675
@ -245,6 +245,7 @@ class BaseDriver extends AbstractPaymentDriver
|
||||
$billing_subscription = \App\Models\Subscription::find($this->payment_hash->data->billing_context->subscription_id);
|
||||
|
||||
// To access campaign hash => $this->payment_hash->data->billing_context->campaign;
|
||||
// To access campaign data => Cache::get(CAMPAIGN_HASH)
|
||||
// To access utm data => session()->get('utm-' . CAMPAIGN_HASH);
|
||||
|
||||
(new SubscriptionService($billing_subscription))->completePurchase($this->payment_hash);
|
||||
|
Loading…
Reference in New Issue
Block a user