# How payments work

> Add payment methods, choose where each one is offered, switch them Live, Admins only or Off, and see what customers see at checkout.

Product: NijeesWeb online store builder · Source: https://www.nijeesweb.com/docs/ecommerce/payments/how-payments-work · Updated 2026-10-06

The **Payments** screen decides how customers can pay you. A new store has **no payment methods** — add at least one before your first sale.

![The payment gateways list](https://www.nijeesweb.com/marketing/img/docs/ecommerce/admin/payments-1200.webp "Payment Gateways: each method with its status, and the Configure button")

## The methods you can add

| Method | Paid | What you need |
| --- | --- | --- |
| **Cash on Delivery** | To the courier, on delivery | Nothing |
| **Bank transfer / manual payment** | By the customer to your bank or UPI ID | Your bank or UPI details |
| **Razorpay** | Online: cards, UPI, net banking, wallets | A Razorpay account |
| **PhonePe** | Online: UPI first, cards, net banking | A PhonePe business account |
| **Cashfree Payments** | Online: UPI, cards, net banking, pay later | A Cashfree account |
| **PayU** | Online: cards, UPI, net banking, EMI | A PayU account |
| **CCAvenue** | Online: cards, net banking, UPI, wallets | A CCAvenue account |
| **Paytm** | Online: Paytm wallet, UPI, cards | A Paytm business account |
| **Stripe** | Online: cards, Apple Pay, Google Pay — 135+ currencies | A Stripe account |
| **PayPal** | Online: PayPal balance and cards — 25 currencies | A PayPal business account |

You can offer several at once — for example **Razorpay** and **Cash on Delivery** — and even the same gateway twice with different rules.

## Add a method

1. Go to **Payments** and select **Add gateway**.
2. Choose the method. It is added **switched off**, and its settings open straight away.
3. Work through the sections below. (Later, reach them with **Configure** on the method's row.)
4. Select **Save changes**.

## The sections of a payment method

### Account details (online gateways)

- **Environment** — **Test / sandbox** or **Live**. Test and live keys are different; this decides which of the gateway's servers your store talks to.
- **The keys** your gateway issued you — each gateway's guide says where to find them. Keys are stored encrypted and never shown again: a saved secret shows as `•••••••• saved — type to replace`. **Leave it blank to keep the saved value.**

### How this method works (cash on delivery and bank transfer)

- **Payment instructions** *(bank transfer)* — your bank or UPI details.
- **An order paid this way starts as** — **Confirmed** or **Pending**. See [Cash on delivery](https://www.nijeesweb.com/docs/ecommerce/payments/cash-on-delivery) and [Bank transfer](https://www.nijeesweb.com/docs/ecommerce/payments/bank-transfer).

### Where this method is offered

A customer only sees the method when **every** rule passes. Leave a rule empty for no restriction.

- **Currencies** — which of your store's currencies it is offered in. Online gateways list only the currencies they settle in.
- **Countries** — matched against the customer's **billing** country.
- **Minimum order value** / **Maximum order value** — in your default currency. A maximum is the usual way to cap cash on delivery.
- **Who can use it** — **Signed-in customers**, **Guests checking out without an account**, or both.

![Where a method is offered](https://www.nijeesweb.com/marketing/img/docs/ecommerce/admin/payment-rules-1200.webp "Where this method is offered: currencies, countries, order value and who can use it")

### At checkout

What the customer reads when choosing how to pay: the **Name** (*Pay online*), a **Short line beside the name** (*UPI, cards and netbanking*) and a **Description**. A **Preview** shows how it looks.

### URLs for the gateway's dashboard

The **Webhook / callback URL** and **Return URL** to paste into your gateway's dashboard. They are fixed for this method. Every message arriving at them is checked against the gateway's own signature, so nobody can mark an order paid by guessing a URL.

### Switch it on

| Status | Who sees it |
| --- | --- |
| **Live** | Every customer the rules allow. |
| **Admins only** | Only you, when signed in as an admin — for a real test payment on your live store. |
| **Off** | Nobody. |

![Switch it on](https://www.nijeesweb.com/marketing/img/docs/ecommerce/admin/payment-switch-1200.webp "Switch it on: Live, Admins only (test on the live store) or Off")

You cannot switch a method on until its required details are filled in: *Fill in every required credential before switching this on.*

## The order customers see

Drag the rows on the Payments list — *this is the order customers see* at checkout. Put the method you prefer customers to use first.

## What happens when a customer pays online

1. At checkout the customer chooses the method and selects **Checkout**. The order is created as **Pending**.
2. They are taken to the gateway's page and pay.
3. When the gateway confirms the payment, the order becomes **Confirmed**, its payment status **Paid**, and the stock is taken.
4. If the payment fails or is abandoned, the customer sees a failure page and the order stays **Pending** with payment **Pending** — no stock is taken.

Each method's row shows how many payments started through it were completed: *… 3 paid of 5*.

## Messages on this screen

| Message | Meaning |
| --- | --- |
| *No payment methods yet. Add the ones your customers pay with.* | Nothing can be paid yet — add a method. |
| *No online payment method is live.* | Customers can only use cash on delivery or bank transfer. |
| *Not set up yet — add its details before switching it on* | Required keys are missing. |
| *… is not set up yet — open it and fill in its details first.* | You tried to switch on a method with missing keys. |
| *The maximum must be more than the minimum.* | Fix the order value range. |
| *Give this method a name (up to 120 characters) — customers see it at checkout.* | The checkout name is empty or too long. |
