Paystack Integration: Add Paystack to Your Site

Payment Gateways
2 integration methods

Paystack

Take card and local payments from African customers by linking your We.Inc site to a Paystack Payment Page, or by adding Paystack's checkout.

Use Case

Paystack payments for a business site built on We.Inc

Paystack is a payments company serving businesses in several African markets. Merchants use its dashboard to accept online payments, send invoices, run subscriptions and receive payouts, and developers can call its API.

For a We.Inc site, the simplest route is a Paystack Payment Page. You create it in the Paystack dashboard as a one-time payment, a subscription or a product payment, and Paystack gives you a link that you turn into a Pay or Buy button. The customer pays on Paystack's page and the money settles to your Paystack account.

A checkout that opens on your own page is also possible, but finishing it properly means confirming each payment with Paystack's API using your secret key. That key must never sit in front-end code, so on We.Inc it belongs in the Cloud panel's Secrets and the confirmation runs in an edge function. Note that We.Inc's built-in Store panel connects to Stripe, not Paystack.

Three page types

Payment Pages can take a one-time amount, a recurring subscription or payment for listed products.

Custom link

Paystack lets you brand the Payment Page address with your business name so it is easier to share.

Pre-filled fields

Customer details can be passed in the link as URL parameters and made read-only.

Test mode pages

Pages created in test mode are for previews only and cannot take real money.

Setup Guide

How to integrate Paystack.

01

Pay button linked to a Payment Page

No code needed; the payment happens on Paystack.

Step-by-step guide

  1. 1

    In the Paystack dashboard, open Payment Pages and start a new page.

  2. 2

    Pick One-time Payment, Subscription Payment or Product Payment in the pop-up.

  3. 3

    Fill in the name, amount and description, then click Create.

  4. 4

    Copy the page link shown at the top of the page, or use Copy Link from the Payment Pages list.

  5. 5

    In your We.Inc project, paste the link into the chat and ask for a Pay now button on the pricing or services page.

  6. 6

    Publish, then click the button on the live site and check it opens your live mode page, not a test one.

02

Checkout on your own page (developer route)

For a payment flow that starts inside your site.

Step-by-step guide

  1. 1

    Read Paystack's developer documentation for its web checkout and note which values are public and which are secret.

  2. 2

    Add your Paystack secret key in the We.Inc Cloud panel under Secrets, never in page code.

  3. 3

    Ask the We.Inc chat to create an edge function that starts a transaction and another that verifies it with Paystack after payment.

  4. 4

    Ask for a checkout button that calls the first function and shows a success page only after verification passes.

  5. 5

    Test end to end with Paystack test keys, then switch to live keys and publish.

Fees: check Paystack's page for your country

Paystack's fees differ by country and payment method. Its pricing page and documentation blocked our reader when we checked in October 2026, so we cannot confirm current rates here. Open Paystack's pricing page and choose your country before you set prices.

Subscriptions without a developer

If you sell memberships or monthly services, Paystack can create a Subscription Payment Page straight from a plan you set up in the dashboard. Put that link behind a Join or Subscribe button on your We.Inc site. Managing renewals, cancellations and failed charges then stays inside Paystack.

Matching orders to customers

Payment Pages collect the customer's details on Paystack, so your We.Inc Contacts list does not see them automatically. If you also want a lead record, keep a short enquiry form on your site and link to the Payment Page from the thank-you message. Payment records live in your Paystack dashboard.

Paystack questions

Can I use Paystack in the We.Inc Store panel?
No. The Store panel connects to your own Stripe account. To sell through Paystack, use Payment Pages with buttons on your site, including Product Payment pages for a small catalogue, or build a custom checkout with an edge function.
Is it safe to paste Paystack keys into the chat?
Your public key is meant for the browser, but the secret key is not. Put the secret key in the Cloud panel's Secrets and let an edge function use it. Never ask for it to be added to a page or index.html.
Why did my customer's payment fail on a page I just shared?
Check whether the page was created in test mode. Paystack says test pages are for preview only and cannot take real money. Create the page again in live mode and update the button link in We.Inc.
Can the link fill in the customer's email for them?
Yes. Paystack documents passing values such as email as URL parameters on a Payment Page link and making those fields read-only, which helps when you send a link to a known client.

Related

More Payment Gateways integrations.

View all integrations

Ready to integrate Paystack?

Start building your website with We.Inc and connect Paystack in minutes.

Start Building Free to build · no card needed · Get help with setup

More in Integrations

Product

Who It's For

Features

Resources

Company

View Sitemap