Docs menuCheckout and licensing

Checkout & licensing

When a Marketplace payment through Stripe succeeds, LPM.dev Registry gives the buyer access to the package.

After the purchase, sign in to LPM CLI with the account that has the license. Then install the package:

lpm login
lpm install @lpm.dev/acme.ui-kit

The LPM CLI install reference describes registry routing, workspaces, lockfiles, and command flags.

Purchase flow

  1. Sign in on lpm.dev.
  2. On the package page, choose a pricing plan.
  3. If the plan allows both, choose yourself or an organization. Checkout lists only the organizations where you are an owner or an admin. A buyer that already has the license shows Already owned.
  4. If you buy an individual plan for an organization, choose from 1 to 1000 seats. You can also choose the members who get the seats.
  5. If the package needs paid peer dependencies, add them to the same order.
  6. Pay with the saved payment method of your account or the organization, or with a new card. Checkout shows the total, with the tax for your location, before you pay.
  7. Wait for Stripe to confirm the payment. Then LPM.dev Registry creates the purchase or the subscription, and gives access.
  8. Sign in to LPM CLI with the account that has the license or the organization membership. Then install the package.

If the order has one license, and the Stripe account of the seller accepts Link, you can also pay with Link.

Each package in an order is a separate payment to its seller. Checkout makes the payments one after another. If a payment fails, the packages that you already paid for stay paid. When you try again, checkout pays only the rest.

Checkout shows each seller by the business name of the seller's Stripe payout account. Your card statement and receipt show this name too. If the Stripe account has no business name, checkout shows the name of the seller's LPM.dev account or organization.

If you pay for more than one license with a new card, checkout saves the card first. The card becomes the payment method of your account or the organization. Checkout then uses the saved card to pay each seller. Only the owners of an organization can save its card. An admin must pay with the saved card of the organization, or remove the dependencies from the order.

Checkout reserves the order before you pay. The reservation fixes the package, the version, the pricing plan, the license scope, the quantity, the currency, and the platform fee. The reservation lasts 15 minutes. LPM.dev Registry does not create the license, and refunds the payment, in these cases:

  • The plan, the package, the version, or the seller's Stripe payout account became unavailable before the payment completed.
  • The payment does not match the reserved terms.
  • The payment completed after the reservation ended.

Who receives access

PurchaseWho receives access
Individual for yourselfThe buyer
Individual for an organizationMembers assigned to the purchased seats
OrganizationAll current and future members of the selected organization

Only an owner or an admin of an organization can buy for it. If the organization requires two-factor authentication or a single sign-on provider, the buyer must meet that requirement too. An organization license always has a quantity of one. An individual plan for an organization costs the plan price multiplied by the number of seats.

Assign individual seats

If you chose members for the seats during checkout, they get their seats when the payment completes. A member gets a seat only if the member is still in the organization and a seat is free.

Owners and admins of the organization manage the seats in Dashboard > Organizations > organization > Licenses:

  1. Select the purchased package.
  2. Assign free seats to current members of the organization.
  3. Ask each assigned member to sign in to LPM CLI with their own LPM.dev Registry account.

Each assigned member uses one seat. If you assign the package again to a member who already has a seat, the member does not use another seat.

To move a seat to another member, revoke the current assignment. Then assign the free seat to another current member. A revocation removes the access of the member at once.

Organization-wide licenses

An organization license does not use seats. At each install, LPM.dev Registry checks the license of the organization and the current membership of the account. Access follows membership:

  • Current members get access when the payment completes.
  • New members get access when they join.
  • A member who leaves the organization loses this access.

One-time access

A one-time purchase gives access to the package with no end date. Access is not limited to the version or major version that checkout showed.

The buyer can install each version that LPM.dev Registry still serves. A full refund, a lost dispute, or a revocation removes this access and the seats that the purchase paid for.

Subscription access

A subscription payment gives access until the end of the paid billing period. After Stripe confirms a renewal payment, access continues for the next period.

If you cancel a subscription, it ends at the end of the current period:

  • Access continues through the paid period.
  • The buyer can resume the subscription before it ends.
  • When the subscription ends, LPM.dev Registry removes its access and its assigned seats.

If a renewal payment does not complete, access stops at the end of the last paid period. If you archive the pricing plan, existing subscriptions continue.

To manage a personal subscription, open Dashboard > Licenses. Select Invoices to see the invoice history of the subscription. It shows unpaid invoices and the date of the next payment retry, if Stripe scheduled one. To pay an open invoice, select "Pay now". Stripe then shows the payment page of the invoice in a new tab. Access returns when a successful payment covers the current period.

After a subscription ends, it moves to Purchase history. There, you can see its invoice history and the end of its last paid period. You cannot cancel or resume it there.

A Marketplace purchase covers only the package that you buy. The package page can list another paid package as a peer dependency. That dependency needs its own purchase or subscription.

To buy the dependency in the same order, select Add to order in checkout. Checkout buys the dependency for the same buyer. For an individual plan for an organization, it uses the same seats and members. Checkout picks a plan of the dependency with the same license type, commercial option, and currency. If several plans match, it prefers the same billing model and interval, and then the lowest price.

If no plan matches, checkout shows Choose a license, a link to the page of the dependency. If the buyer already has access to the dependency, checkout shows Already owned and does not charge for it.

LPM CLI resolves the whole dependency graph. LPM.dev Registry checks access for each paid package separately. A license for the parent package does not give access to a dependency.

Access troubleshooting

If LPM CLI reports that a Marketplace package requires a purchase, make sure that:

  • LPM CLI is signed in with the correct LPM.dev Registry account.
  • The purchase completed.
  • The account is still a member of the licensed organization.
  • The account has an assigned seat, if the organization bought individual seats.
  • The subscription is still in a paid period.
  • The account has access to each paid dependency that needs its own license.

LPM CLI authentication explains login sessions and registry credentials.

Refunds

The Marketplace Seller Agreement and the applicable payment terms decide who can get a refund. If a one-time Marketplace payment is fully refunded, LPM.dev Registry marks the purchase as refunded and removes its access. If a subscription payment is fully refunded, LPM.dev Registry removes the access of the subscription and cancels the subscription at once.

A personal purchase stays in Dashboard > Licenses after a refund. Select Receipt to see the original payment and the refunded amount. A partial refund does not change access. A full refund removes access and moves the purchase to Purchase history.

See also

  • Marketplace explains how to sell on the Marketplace, and the platform fees.
  • Pricing plans explains billing and license scope.
  • Commercial licenses explains commercial permissions, bundles, and dependencies that buyers purchase separately.