Recurring Payments
If you charge customers on a schedule — a monthly membership, a weekly service — Subscriptions does the repeat billing for you.
This page is the dashboard walkthrough. If you are building the integration yourself, the developer docs start at Subscriptions.
Setting up a plan
Under Subscriptions → Plans, create a plan: how much, how often (daily, weekly, monthly, yearly), and whether new customers get a free trial first.
Screenshot needed: VectaPay dashboard → Subscriptions → Plans → “Create plan” form, showing the amount, billing interval, and trial period fields.
Putting a customer on a plan
From a customer’s page, or from Subscriptions, subscribe them to a plan. By default, each billing cycle sends the customer a payment request on their phone, which they need to approve — you don’t have to send it manually each time, but the customer does still take one action per cycle.
Standing orders — no action needed from the customer after the first one
For an M-Pesa customer, you can switch a subscription to a standing order instead. The customer approves it once, and every renewal after that happens automatically — no payment request, no action needed on their end.
To set one up, open the subscription and choose Standing order, then pick which M-Pesa number it should collect through. The customer gets a one-time prompt on their phone to approve it; once approved, the subscription is billed automatically going forward.
A couple of things worth knowing before you turn one on:
- It only works for a whole-shilling price (no cents) and for daily, weekly, monthly, bi-monthly, quarterly, half-yearly, or yearly billing — not an unusual custom schedule.
- Cancelling the subscription in your dashboard does not stop the standing order on the customer’s phone. M-Pesa keeps collecting on its own schedule until the customer cancels it themselves, from their own M-Pesa app — so a customer can still be charged after you’ve cancelled their subscription here. If a customer asks you to stop a standing order, tell them to cancel it in their M-Pesa app; cancelling only in your dashboard isn’t enough.
- The price is locked in at whatever it was when you turned the standing order on. If you change the plan’s price later, you’ll need to set up a new standing order at the new price.
When a charge fails
If a scheduled charge doesn’t go through (their balance was too low that day), VectaPay retries it automatically over the next few days rather than giving up immediately. You’ll see a subscription marked Past due if retries are still in progress, or Cancelled if they’ve been exhausted. A standing order works differently here too: there’s nothing for VectaPay to retry — M-Pesa simply tries again on the customer’s own next scheduled date, so a “Past due” standing order clears itself once that next payment lands, with no separate retry to wait for.
Pausing or cancelling
A customer’s subscription can be paused (billing stops, nothing is cancelled) or cancelled outright from their subscription page — either one takes effect immediately for the ordinary, payment-request-per-cycle kind. For a standing order, pausing or cancelling here only stops your own dashboard from tracking and reminding — see the standing order limits above for why the customer may still see M-Pesa collect after you’ve done either.