How to integrate Flutterwave with SleepPRO™

Payment gateways

Here is how to connect Flutterwave, a payment provider for businesses in Africa.

You will need a Flutterwave account.

1. Connect Flutterwave

  1. Click your profile picture, then Settings.
  2. Click Payment gateways, then Connect next to Flutterwave.
  3. Enter your Flutterwave credentials and click Save.

To find them, log in to Flutterwave, go to Settings, then API Keys, and generate and copy your API public key, API secret key and API encryption key. You can also go straight to app.flutterwave.com/dashboard/settings/apis/live.

2. Set up webhooks

  1. Copy the webhook URL and secret from the Flutterwave section in SleepPRO™.
  2. In Flutterwave, go to Settings, then Webhooks. You can also go to app.flutterwave.com/dashboard/settings/webhooks/live.
  3. Paste the webhook URL and secret, and click Save.
  4. Tick:
  • Receive a webhook response in JSON format
  • Enable webhook retries
  • Enable webhook for failed transactions
  • Enable V3 webhooks
ScreenshotFlutterwave webhook settings
Tick these boxes yourself. They are not on by default, and SleepPRO™ needs them to record payments and give customers access.
Refunds are off by default with Flutterwave. Contact Flutterwave support to turn them on.
Payments fail without the Email field on your order form.

3. Currencies and restrictions

  • Buyers: Africa and international.
  • Subscriptions: yes.
  • Currencies: CAD, CLP, COP, EGP, EUR, GBP, GHS, GNF, KES, MAD, MWK, NGN, RWF, SAR, SLL, STD, TZS, UGX, USD, XAF, XOF, ZAR and ZMW.
  • Your Flutterwave account must be registered in an African country.

When a payment fails

After the first attempt, Flutterwave tries three more times, 30 minutes apart. You cannot change this delay.

Still stuck? We are here for you.

SleepPRO™ support is available 24/7 and usually replies within 12 hours, often sooner.

Send us an email