Skip to content

Commit

Permalink
Fix trial days for subscription
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasdierich committed May 14, 2024
1 parent f05c7b3 commit b9495be
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Lib/EnsureBilling.php
Original file line number Diff line number Diff line change
Expand Up @@ -237,12 +237,14 @@ private static function queryOrException(Session $session, string|array $query):
$lineItems: [AppSubscriptionLineItemInput!]!
$returnUrl: URL!
$test: Boolean
$trialDays: Int
) {
appSubscriptionCreate(
name: $name
lineItems: $lineItems
returnUrl: $returnUrl
test: $test
trialDays: $trialDays
) {
confirmationUrl
userErrors {
Expand Down

0 comments on commit b9495be

Please sign in to comment.