Skip to content
Create account
or
Sign in
The Stripe Docs logo
/
Ask AI
Create account
Sign in
Get started
Payments
Revenue
Platforms and marketplaces
Money management
Developer resources
Overview
Versioning
Changelog
Upgrade your API version
Upgrade your SDK version
Essentials
SDKs
API
Testing
Stripe CLI
Tools
Workbench
Developers Dashboard
Stripe Shell
Stripe for Visual Studio Code
Features
Workflows
Event destinations
Stripe health alertsFile uploads
AI solutions
Agent toolkit
Security and privacy
Security
Privacy
Extend Stripe
Build Stripe apps
Use apps from Stripe
    Overview
    Stripe-built apps
    Adobe Commerce
    Cegid
    Commercetools
    Mirakl
    NetSuite
    Oracle Opera
    PrestaShop
    Salesforce
      Salesforce B2C Commerce
      Stripe app for Salesforce Platform
      Salesforce Billing Extension
      Stripe Billing for Salesforce CPQ
        Accounts and contacts
        Coupons
        Error handling
        Evergreen orders
        Field defaults and custom mappings
        MDQ products
        Order amendments
        Products and prices
        Set up the app
        Subscription orders
    SAP
    Shopware 6
    Stripe Tax for BigCommerce
    Stripe Tax for WooCommerce
    Partner apps
    Build your own app
Partners
Partner ecosystem
Partner certification
HomeDeveloper resourcesUse apps from StripeSalesforceStripe Billing for Salesforce CPQ

Evergreen subscription orders

Learn how to sync your evergreen subscription orders between Salesforce and Stripe.

The Stripe Billing app for Salesforce CPQ supports syncing your evergreen orders to Stripe subscriptions. Evergreen orders are subscriptions in Salesforce that have no end date, as opposed to renewable orders, which are recurring subscriptions that have a set end date.

The app examines SBQQ_SubscriptionType__c to determine if an order is Renewable or Evergreen. A Salesforce order with an Evergreen subscription type syncs into a Stripe subscription, regardless of the value for SBQQ_ProductSubscriptionType__c, which could be Renewable, or Renewable and Evergreen.

Requirements

Set the collection_method field to send_invoice and specify a value for days_until_due on the Stripe subscription. You can map to these fields in the data mapper.

Set SBQQ_DefaultSubscriptionTerm__c on the Salesforce evergreen order to 1. To prevent unexpected behavior on the invoices, make sure the evergreen order has a default subscription term equal to 1.

Cancel evergreen orders

You can cancel evergreen orders in Salesforce by making an order amendment with quantity zero and setting the cancellation date as the start date.

To cancel a Stripe subscription immediately, set the amendment start date to the current date. To cancel a Stripe subscription on a specific date, set the amendment start date to a date in the future.

If you cancel a subscription during a billing period, the subscription cancels immediately and the customer won’t receive a credit or refund for the remainder of the billing period.

Limitations

The app doesn’t sync Salesforce orders that contain both evergreen and non-evergreen products.

The app only supports canceling Salesforce evergreen orders with one product. Attempting to cancel a subset of the products in an evergreen order cancels the entire Stripe subscription. We recommend creating separate Salesforce evergreen orders for each product, if you want the ability to cancel orders in Stripe.

You must set the collection_method on a Stripe subscription to send_invoice. The default value is charge_automatically, but the app doesn’t support collecting customer payment methods, which is necessary to charge automatically.

See also

  • Field defaults and custom mappings
  • Order amendments
  • Subscription orders
Was this page helpful?
YesNo
Need help? Contact Support.
Join our early access program.
Check out our changelog.
Questions? Contact Sales.
LLM? Read llms.txt.
Powered by Markdoc