FoodMonkey
NatadTech
  • πŸ‘‹Introduction
  • Installation
    • βš™οΈInstallation - Shared Hosting
    • πŸ”ƒUpdating - Shared Hosting
    • πŸ’»Installation - Local Machine
  • DEFINE BASICS
    • πŸ“‚Database
    • πŸ“©Mail Server
    • βŒ›Localization and Time Format
    • πŸ’²Payments
    • πŸ’±Pricing Plans
    • πŸ’°Stripe Gateway
    • πŸ’ΈPaystack Gateway
    • πŸ—ΊοΈGoogle API
    • πŸ“ˆGoogle Analytics
    • πŸ–₯️Google Authentication
    • πŸ‘€Facebook Authentication
    • πŸ›œOne Signal Push Notifications
    • πŸ“¨Twilio SMS Notifications
  • Usage
    • πŸ“ŒGetting Started
    • πŸ‘₯Register as an Admin
    • 🌏Multilingual Menu
    • ✏️Site Set-up
    • πŸͺRestaurant Subdomain
    • 🍴Single Restaurant
    • πŸ—£οΈTranslations
    • πŸ–ŒοΈCustom CSS
    • ⬆️Import from CSV
    • πŸ“Custom Fields on Order
  • Modules
    • πŸ’‘Project Modules
    • 🧩Module Installation
    • ➑️ShareThis
    • πŸͺCookie Consent
    • πŸ–¨οΈThermal Printer Module
    • πŸͺWebHooks
  • API
    • 🀝Client API
    • πŸ›΅Driver API
  • Information
    • ❓Frequently Asked Questions
    • πŸ“œChangelog
    • πŸ–₯️Developer Information
Powered by GitBook
On this page

Was this helpful?

  1. DEFINE BASICS

Paystack Gateway

PreviousStripe GatewayNextGoogle API

Last updated 1 year ago

Was this helpful?

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 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
πŸ’Έ
Paystack
https://yourdomain.com/payment/callback
https://yourdomain.com/pay