MobiariDocs

Subscriptions

Orders that repeat on their own: the customer gets the same order every few weeks or months and pays each one by Pix.

A subscription is a customer's standing order: the same products, every few weeks or months. Each cycle Mobiari creates a real order, reserves the stock, repeats the delivery of an earlier order of the customer and e-mails them the Pix code. After this page you can create a subscription, follow its cycles and know what to do when one fails.

Before you start

  • The screen is under Sell → Subscriptions. Seeing subscriptions needs the View orders permission; creating and changing them need Create orders.
  • Each cycle is charged by Pix. No card is kept on file: the order is born pending and is paid only when the customer pays the Pix. The store needs a payment provider with Pix set up, and the customer needs an e-mail.
  • Each cycle's order uses the products' price of the day and follows the same stock rules as any order.

The subscriptions screen

At the top are four numbers: Monthly recurring revenue (with how many are active), New / cancelled and Orders placed in the last 30 days and, when there are any, Need attention (subscriptions with failed cycles). The Active, Paused, Cancelled and All tabs filter the list and show how many each holds, and the Customer or product box searches by the customer's name or an item's.

Each row shows the customer, how often it repeats (Every month, Every 2 weeks...), the items, the date of the next order (or Paused, Cancelled), the amount per cycle and, when it applies, N failed cycles. Click a row to open the subscription in a panel beside the list: the items under What goes in each order and, under Rhythm, How often, Next order, Orders placed, Coupon, Delivery and Since. Edit, on Rhythm, changes how often it repeats, the next order's date and the coupon.

Create a subscription

Click New subscription (or press N) and fill in:

FieldWhat it does
CustomerWho receives it. Pick the customer searches an existing customer by name, phone or e-mail.
What goes in each orderThe products and quantities of each cycle, with Add item.
How oftenEvery so many weeks or months (1 to 52). A monthly interval keeps the day of the month: in a shorter month it falls on the last day, and the next month returns to the original day (the 31st goes 31 Jan, 28 Feb, 31 Mar). Choosing a new date for the next order makes that date's day the one it keeps.
First order onThe date of the first cycle. Today means now.
CouponOptional. Each order applies this coupon. If it expires or runs out, the cycle fails.
DeliveryAn earlier order of the customer whose address and freight every cycle repeats. Leave No delivery (pickup or digital) for pickup or a digital product.

The amount per cycle shows at the bottom. Click Create subscription.

What happens each cycle

Every few minutes Mobiari looks for subscriptions whose next order has come. For each one:

  1. The next cycle's date is written first, so the same cycle never produces two orders. If the store was stopped for a long time, one order is created, not a queue of them.
  2. The order is created, with the stock reserved, and carries the address and freight of the chosen Delivery.
  3. The Pix is made and the customer gets the code by e-mail.

If the order is still unpaid after 3 days, the customer gets one reminder e-mail with the Pix (the same one, or a new one if it expired). Orders older than two weeks get no reminder. An order still unpaid 14 days after it was placed is cancelled (its Pix is voided and its stock freed); the subscription goes on, and the next cycle places a new order. A customer cannot subscribe to a stocked product that is sold out.

If the Pix or the e-mail fails, the order exists and stays pending: the reason shows on the subscription and you can ask the customer to pay through the order.

Pause, skip and cancel

At the foot of the subscription's panel are these actions:

  • Skip the next one: the next order is not created and the one after follows the normal rhythm.
  • Pause and Resume: no order is created while it is paused. On resuming, the overdue order is created right away.
  • Cancel subscription (the icon at the top of the panel): final. No new order is created.

When a cycle fails

A cycle fails when the order cannot be created: no stock, or a product removed or archived. The failure is recorded on the subscription, which shows The last cycle failed (or how many failed). After three failed cycles in a row, the subscription is paused and shows Paused after three failed cycles. An expired or used-up coupon also makes the cycle fail. Fix the problem (restock, change the item, the coupon or the customer's data) and use Resume.

Subscribe from the product

In the product editor, under Channels and feeds, the Sold by subscription block ticks the intervals a signed-in customer may subscribe at (every 1 or 2 weeks, 1, 2 or 3 months). Through the storefront API and the SDK the customer picks one and the first order goes out in minutes; the next ones repeat the delivery of their latest paid purchase, so a physical product can only be subscribed to by someone who already bought from the store (a digital one, not). Nobody has the same subscription twice and each customer can have up to 20 running. The default theme's product page shows an Ou receba por assinatura block with the intervals and an Assinar button: someone not signed in is sent to sign in, and someone who already has the same subscription sees a notice.

Events and automations

Workflows and webhooks receive subscriptions.created, subscriptions.order_placed (with the order), subscriptions.cycle_failed, subscriptions.paused, subscriptions.resumed and subscriptions.cancelled.

The customer and the subscription

Through the storefront API and the SDK (client.customer.subscriptions), a signed-in customer sees their own subscriptions and can pause, resume, skip the next order and cancel. A pause the store made, for example after failed cycles, only the store can lift. The default theme's account overview (/conta) also has a Suas assinaturas card listing the subscriptions that are still running, with how often each repeats, what it brings and the date of the next order, and buttons to skip the next order, pause, resume (a pause the customer made) and cancel. A subscription the store paused shows "Pausada pela loja" with a note to contact the store. Cancelled subscriptions are not listed. A custom theme can build the same card from portal.subscriptions (see the theme reference).

On this page