Browse: Home / Classes /



Description #

Source #

File: includes/lib/stripe-php/lib/Service/SubscriptionService.php

Methods #

  • all — By default, returns a list of subscriptions that have not been canceled. In order to list canceled subscriptions, specify status=canceled.
  • cancel — Cancels a customer’s subscription immediately. The customer will not be charged again for the subscription.
  • create — Creates a new subscription on an existing customer. Each customer can have up to 500 active or scheduled subscriptions.
  • deleteDiscount — Removes the currently applied discount on a subscription.
  • retrieve — Retrieves the subscription with the given ID.
  • update — Updates an existing subscription on a customer to match the specified parameters. When changing plans or quantities, we will optionally prorate the price we charge next month to make up for any price changes. To preview how the proration will be calculated, use the upcoming invoice endpoint.