All Collections
Payment providers
How to connect Paystack
How to connect Paystack

How to accept payments with Paystack in your membership bot (Africa only)

Yury Smykalov avatar
Written by Yury Smykalov
Updated over a week ago

Paystack helps businesses in Africa get paid by anyone, anywhere in the world. Currently, it's available in 🇳🇬 Nigeria, 🇬🇭 Ghana, 🇰🇪 Kenya, and 🇿🇦 South Africa, and they are expanding all over Africa. You can subscribe to find out when they will launch in your country.

Please note that if you're planning to accept international payments, you should also request that in Paystack Dashboard.

Recurring subscriptions are not supported at the moment, only one-time payments

As with most payment gateways, Paystack can work in Test Mode (only test payments) and Live Mode (for real money).

1. Open a merchant account

To register a merchant account with Paystack, please open https://dashboard.paystack.com/#/signup and fill out the form:

2. Find your API keys

Now you should find your API keys. Open the API Keys & Webhooks tab in Settings and make sure to select the correct mode (Test Mode or Live Mode):

3. Enter API keys in @InviteMemberBot

Open @InviteMemberBot in Telegram, send /myprojects, and select your project. Then click Payment options and select Paystack Test (or Paystack Live). Click Connect.

The bot will ask you to enter your API keys:

4. Set up your webhook URL

After entering your API keys, InviteMember will provide you with a secret webhook URL that you should enter in your Paystack Dashboard

⚠️ Make sure to click Save Changes after that!

5. Make a test payment

You can now open your membership bot, click Plans and select a plan.

Plan price must be in NGN (Nigerian Naira), GHS (Ghanaian Cedi), KES (Kenyan Shilling), or ZAR (South African Rand). Otherwise, it won't show the Paystack button.

Click the Paystack button, and you'll get a link to a Paystack-hosted checkout page:

When your test payment is complete, your membership bot will send you a confirmation with Join Channel/Group buttons.

 

Did this answer your question?