Skip to content

Commit

Permalink
Update StripeClient.php
Browse files Browse the repository at this point in the history
Change subscription item
  • Loading branch information
mogilvie authored Aug 4, 2020
1 parent 58399f3 commit 60b170a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Stripe/StripeClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ public function createSubscriptionItem($subscriptionId, $planId, $quantity, $par
$data = array_merge($parameters, $data);
}

return Subscription::create($data);
return SubscriptionItem::create($data);
}

/**
Expand Down

0 comments on commit 60b170a

Please sign in to comment.