Integrations & scripts

Lokanda

Venue plan and subscription API

The internal API between Lokanda and the VulCode client panel. The panel puts a venue on the free, trial or pro plan, suspends and unsuspends it, and every such change stays in the venue's log.

Lokanda

About the project

The Lokanda integration with the VulCode client panel is an internal API that puts a venue on the free, trial or pro plan and suspends and unsuspends it. The plan only changes from outside, that is from the panel, and the owner manages nothing but invoicing details in Lokanda. When the paid period ends the venue falls back to the free plan on its own and loses no data. Every call lands in the venue's activity log together with the name of whoever made it.

The challenge

Lokanda has three plans with different limits and features, and which one applies follows from the paid order in the VulCode client panel. The owner still has to be able to fix invoicing details and write to support even when the venue is suspended for non-payment.

What we did

  1. 01

    Free, trial and pro plans with limits on team accounts, menu items, inventory and report history

  2. 02

    Events, supplier orders, scheduling, advanced promotions and reports on the paid plans

  3. 03

    A trial always with an end date, pro also without one, then a return to free with no data removed

  4. 04

    Plan, suspend and unsuspend calls guarded by a shared secret, answering 503 when no secret is set

  5. 05

    A suspended venue stays readable, changes get 403, and support tickets and invoicing details stay open

  6. 06

    The caller's name from a request header on every entry in the venue's activity log

Related projects

Describe your project.

A free quote comes back within an hour during working hours.

Tell us what you want to build.

A free quote comes back within an hour during working hours. You talk to the person who writes the code.