πŸ’ΈPaystack Gateway

Paystack Account Information

FoodMonkey offers support for the Paystack gateway for payments. Follow these steps to set up the gateway:

By default this method is set to false and to enable you need to change it to true.

ENABLE_PAYSTACK=false

Now, visit the Paystack website. Create a new account or log in with your existing one.

From the left side menu, select Settings and then open API Keys and Webhooks.

The Secret Key and the Public Key will be auto-generated for you.

In the Callback URL field, enter the desired URL.

In the Webhook URL field, enter the desired URL.

After you've completed these steps, click on Save changes.

Next, let's add these credentials to your .env file.

PAYSTACK_PUBLIC_KEY=your public key
PAYSTACK_SECRET_KEY=your secret key
PAYSTACK_PAYMENT_URL=https://api.paystack.co
MERCHANT_EMAIL=your paystack email

Last updated