#oleg.moseiko

1 messages · Page 1 of 1 (latest)

muted relicBOT
shell spoke
proven raptor
#

thanks

#

also ))

#

how to get current subscription?

shell spoke
#

Like get the current Subscriptions for a Customer? Or something else?

proven raptor
#

yes i need current subscriptions for a Customer

#

$query = sprintf('metadata["teamId"]:"%s" and metadata["customerId"]:"%s" and status:"active"', $TeamI, $customer->id);
$this->freeSubscription = Subscription::search(['query' => $query])->first();

shell spoke