What’s a Credit #
Credits can be used to “pay” for reservations in Booked. Each resource and accessory can require a certain number of credits, which can control a person’s usage.
Credits must first be enabled in the Application Configuration before they can be used in Booked. This is done by setting enabled to true in the credits section.
Once enabled, administrators will have the ability to set the credit redemption rates resources in the Resources Management and Accessories Management sections.
If a reservation would bring a user over their credit limit, the reservation will be rejected.
Administrators can manage the number of credits allocated to a person in Users section.
Setting Credit Costs #
Credits can have different costs for peak and off peak times of a schedule. Peak times are defined per schedule in the Schedules section.
Credits can be charged based on the number of slots booked or a set amount per reservation. Booked allows reservations to be created “over” blocked slots. You can choose whether or not to charge credits for all slots in a reservation or just the available slots.
Credit Replenishment #
Credits can be added to all users within a group either manually (one time addition) or on a regular interval. Both options exist on the Group management page.
When setting up a credit replenishment rule you have the option to add a fixed number of credits every X number of days or on a specific day of the month. Alternatively, you have the option to reset the credits to a specific amount.
Automatic credit replenishment requires Booked scheduled jobs to be running. See the jobs section for more information on setting this up.
Paying for Credits #
If enabled, users can purchase credits to replenish their account. This can be enabled by setting allow.purchase to true in the credits section of Application Configuration.
From the Payments section of Application Management administrators are able to set the cost per credit, configure payment gateways, and view purchase transaction history.
Booked supports two payment gateways: Stripe and PayPal. At least one must be enabled in order to allow purchasing credits.
Configuring Stripe #
Within the Payments management screen, click the Payment Gateways tab and enable Stripe. Booked integrates with Stripe using Stripe Checkout, which requires use of the Stripe API.
First create a Stripe account if you do not already have one. On the Stripe API screen, copy your Stripe API keys into the Booked Stripe gateway settings and save the payment gateway configuration. Use the test API keys if you want to simulate purchasing credits. Use the live API keys to charge users and collect payments.
Configuring PayPal #
Within the Payments management screen, click the Payment Gateways tab and enable PayPal. Booked integrates with PayPal using Express Checkout, which requires use of the PayPal API.
First create a PayPal account if you do not already have one and navigate to PayPal Developer In the REST API apps section, create a new app. In the App details section you will have access to both Sandbox and Live API credentials. Copy your PayPal app credentials into the Booked PayPal gateway settings and save the payment configuration. Use the Sandbox credentials if you want to simulate purchasing credits. Use the Live credentials to charge users and collect payments.