From d871231fc5befbe11d21a57b8bf7dd9e1d85cf28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Bell=C3=AAtre?= Date: Wed, 28 Aug 2019 18:28:58 +0200 Subject: [PATCH] Set off_session parameter to true when creating a new subscription --- src/SubscriptionBuilder.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/SubscriptionBuilder.php b/src/SubscriptionBuilder.php index 813a1f02..e8aff6be 100644 --- a/src/SubscriptionBuilder.php +++ b/src/SubscriptionBuilder.php @@ -263,6 +263,7 @@ protected function buildPayload() 'quantity' => $this->quantity, 'tax_percent' => $this->getTaxPercentageForPayload(), 'trial_end' => $this->getTrialEndForPayload(), + 'off_session' => true, ]); }