# Online payment settings

The three options of the Customer Payments group in plain words, which open invoices to online payment, accept the payment of a draft invoice and print the payment link as a QR code.

Online payment is switched on for invoices in the **Customer Payments** group of the accounting settings. The providers themselves have no option on this page: each one is set up on its own form, as [Set up Moyasar](set-up-moyasar) and [Set up Tamara](set-up-tamara) show. The other accounting options are explained in [Accounting: start here](/docs/accounting-start-here). Open **Accounting/Configuration/Settings**.

## Before you start {#before-you-start}

- The settings need the **Administrator** role on your user.
- **Invoice Online Payment** and **Accept Payment in Draft State** apply to every company of the database; **Add QR-code link on PDF** belongs to the current company.

## Customer Payments {#customer-payments}

![The Customer Payments group, where invoices are opened to online payment.](https://jaah.app/web/image/10156-31871b41/customer-invoices-settings-settings_payments-en.png)

### Invoice Online Payment {#invoice-online-payment}

On by default, with the help line **Let your customers pay their invoices online**. On, a posted invoice with an amount due shows a **Pay Now** button on the customer portal whenever a provider is available for it, and a payment link can be made from it ([Send a payment link](send-a-payment-link)). Off, the portal shows no **Pay Now**, and the payment link window says **Online payment option is not enabled in Configuration.** and keeps its copy button greyed out. The draft option below it appears only while it is on.

### Accept Payment in Draft State {#draft}

Off by default. On, the payment button is also shown on an invoice still in draft; as soon as the payment succeeds, the invoice is posted and the payment recorded, without anyone opening it. A draft that could not be posted, for example one without lines or on an archived journal, is not offered for payment. While a payment is under way, the draft can no longer be deleted and its amount can no longer be changed.

If posting still fails after the client has paid, the invoice shows a red banner: the client has paid but the invoice could not be posted, and accounting is retried by itself for four days. Open the payment transaction to read why, fix the cause, and the invoice settles on its own.

![The option that lets a client pay an invoice still in draft.](https://jaah.app/web/image/11680-4d22b761/online-payments-settings-settings_draft-en.png)

When the **Demo** provider is enabled, a warning appears under the option: that provider lets anyone confirm a payment without paying, which would post the invoice. Disable it before using the option.

### Add QR-code link on PDF {#qr-link}

Off by default. On, every invoice printed with an amount due carries a QR code that opens its payment page; the client scans it with a phone instead of typing the link.

![The QR code printed on the invoice, pointing to its payment page.](https://jaah.app/web/image/11688-327a38b6/online-payments-settings-settings_qr-en.png)

### QR Codes {#qr-codes}

The **QR Codes** option beside them prints a bank-transfer QR code, not an online payment; it belongs to the invoice, see [Customer invoices](/docs/customer-invoices).

Click **Save** to apply your changes.

## FAQ {#faq}

### A client does not see **Pay Now** on an invoice. {#no-pay-now}

Check that **Invoice Online Payment** is on, that a provider is available for that client and currency ([Set up Moyasar](set-up-moyasar)), that the invoice is posted (or that drafts are accepted), and that no payment is already waiting on it: while a payment is pending or authorized, the portal offers no second one.

### Can I keep the QR code without online payment? {#qr-without-payment}

The option stays visible and can stay ticked when **Invoice Online Payment** is off, but the QR code then leads to an invoice page with no **Pay Now**. Keep the two together.

### Which tasks run by themselves? {#automations}

The page [Online payment automations](online-payments-automations) lists the scheduled jobs and the e-mails of online payments.

---

- Source: https://jaah.app/docs/online-payments/online-payment-settings
- Updated: 2026-10-23
- Version: Online payments 19.0.1.3.0
- Verified: 2026-10-23
