Skip to content

Commit

Permalink
Update 6_subscriptions.md (pay-rails#619)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShawnAukstak authored May 3, 2022
1 parent b17b4ba commit 8b26e3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/6_subscriptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ Braintree and Paddle require payment methods before creating a subscription.
You can also check for a specific subscription or plan:

```ruby
@user.payment_processor.subscribed?(name: "default", plan: "monthly")
@user.payment_processor.subscribed?(name: "default", processor_plan: "monthly")
```

## Checking Customer Trial Status
Expand Down Expand Up @@ -143,7 +143,7 @@ For paid features of your app, you'll often want to check if the user is on tria
You can also check for a specific subscription or plan:

```ruby
@user.payment_processor.on_trial_or_subscribed?(name: "default", plan: "annual")
@user.payment_processor.on_trial_or_subscribed?(name: "default", processor_plan: "annual")
```

## Subscription API
Expand Down

0 comments on commit 8b26e3c

Please sign in to comment.