Flutterwave Setup

For accepting payments both for Subscriptions and for Deposit options you can use Paystack.

You need to enter your Flutterwave credentials in the Admin panel under Finance Manager -> Payment Settings -> Flutterwave. Ensure you include all your Flutterwave credentials and activate the Flutterwave checkbox(es).

  • FLUTTERWAVE_PUBLIC_KEY

  • FLUTTERWAVE_KEY_SECRET

  • FLUTTERWAVE_SECRET_HASH

  • FLUTTERWAVE_WEBHOOK_URI=https://YOURDOMAINNAME/webhooks/flutterwave

How to Get Flutterwave Webhook and Add Events:

  • Login to Flutterwave Dashboard:

  • Navigate to Webhooks:

    • On the left-hand menu, click on Settings.

    • Then select Webhooks from the dropdown menu.

  • Create a New Webhook Endpoint:

    • Click on the Create New Webhook button.

  • Configure Webhook Endpoint:

    • Enter your webhook endpoint URL in the provided field.

      • Example: https://yourdomain.com/webhooks/flutterwave

      • Replace yourdomain.com with your actual domain name.

  • Add Webhook Events:

    • Scroll down to the Select Events section.

    • Tick the checkbox for the following two events:

      • charge.completed: This event is triggered when a charge (payment) is successfully completed.

      • subscription.cancelled: This event is triggered when a subscription is cancelled.

  • Save Webhook Endpoint:

    • After adding the events, click on the Save button to save your webhook configuration.

  • Copy Webhook Secret Key:

    • Once saved, Flutterwave will generate a secret key for your webhook.

    • Copy this secret key as you will need it for configuring the Payment Settings page of your script.

  • Configure Payment Settings in Your Script:

    • Go to the Payment Settings section in your script's admin panel.

    • Paste the webhook URL (https://yourdomain.com/webhooks/flutterwave) into the respective field.

    • Also, paste the webhook secret key that you copied from Flutterwave into the designated field in your script's admin panel.

Last updated