Note: This article applies to publishing GitHub Apps in GitHub Marketplace only. For more information about publishing GitHub Actions in GitHub Marketplace, see "Publication d’actions dans GitHub Marketplace."
GitHub Marketplace pricing plans can be free, flat rate, or per-unit. Prices are set, displayed, and processed in US dollars. Paid plans are restricted to apps published by verified publishers. For more information about becoming a verified publisher, see "Demande de vérification d’éditeur pour votre organisation."
Customers purchase your app using a payment method attached to their account on GitHub.com, without having to leave GitHub.com. You don't have to write code to perform billing transactions, but you will have to handle events from the GitHub Marketplace API. For more information, see "Utilisation de l’API GitHub Marketplace dans votre application."
If the app you're listing on GitHub Marketplace has multiple plan options, you can set up corresponding pricing plans. For example, if your app has two plan options, an open source plan and a pro plan, you can set up a free pricing plan for your open source plan and a flat pricing plan for your pro plan. Each GitHub Marketplace listing must have an annual and a monthly price for every plan that's listed.
For more information on how to create a pricing plan, see "Définition des plans tarifaires pour votre référencement."
Remarque : Quand vous listez une application sur GitHub Marketplace, vous ne pouvez pas la lister avec un plan tarifaire gratuit si vous proposez un service payant en dehors de GitHub Marketplace.
Types of pricing plans
Free pricing plans
Les applications gratuites sont encouragées dans GitHub Marketplace et constituent un excellent moyen d’offrir des services open source. Si vous listez une version payante de votre application en dehors de GitHub Marketplace, vous devez proposer au moins un plan payant lors du référencement de l’application dans GitHub Marketplace.
Free plans are completely free for users. If you set up a free pricing plan, you cannot charge users that choose the free pricing plan for the use of your app. You can create both free and paid plans for your listing.
All apps need to handle events for new purchases and cancellations. Apps that only have free plans do not need to handle events for free trials, upgrades, and downgrades. For more information, see: "Utilisation de l’API GitHub Marketplace dans votre application."
If you add a paid plan to an app that you've already listed in GitHub Marketplace as a free service, you'll need to request verification for the app and go through financial onboarding.
Paid pricing plans
There are two types of paid pricing plan:
Flat rate pricing plans charge a set fee on a monthly and yearly basis.
Per-unit pricing plans charge a set fee on either a monthly or yearly basis for a unit that you specify. A "unit" can be anything you'd like (for example, a user, seat, or person).
You may also want to offer free trials. These provide free, 14-day trials of OAuth or GitHub Apps to customers. When you set up a Marketplace pricing plan, you can select the option to provide a free trial for flat-rate or per-unit pricing plans.
Customers can start a free trial for any paid plan on a Marketplace listing that includes free trials. However, customers cannot create more than one free trial per marketplace product.
Free trials have a fixed length of 14 days. Customers are notified 4 days before the end of their trial period (on day 11 of the free trial) that their plan will be upgraded. At the end of a free trial, customers will be auto-enrolled into the plan they are trialing if they do not cancel.
For more information, see: "Traitement des nouveaux achats et des essais gratuits."
Note: GitHub expects you to delete any private customer data within 30 days of a canceled trial, beginning at the receipt of the cancellation event.