---
title: 'How Payage Works'
url: 'https://manuals.remository.com/payage-dev/how-payage-works'
markdown: 'https://manuals.remository.com/payage-dev/how-payage-works.md'
date: '2026-11-14'
description: 'Chapter 2 How Payage Works We assume you are familiar with the Overview section of the Payage User Guide so will not repeat that information here. This section describes Payage in more detail. Applications interact with Payage through its API, described in detail in the next section. When an applic…'
taxonomy:
  category:
    - docs
---

[](#) [ edit this page](https://github.com/getgrav/grav-skeleton-rtfm-site/blob/develop/pages/03.how-payage-works/chapter.md) 

### Chapter 2

# How Payage Works

We assume you are familiar with the Overview section of the Payage User Guide so will not repeat that information here. This section describes Payage in more detail.

Applications interact with Payage through its API, described in detail in the next section. When an application is ready to request a payment from the user, it calls the Payage get\_buttons() function, passing all known details of the transaction. Payage creates a payment record, stores all of the supplied data, and responds with the HTML for all the relevant payment buttons. The application then simply echos out the button HTML as part of its payment page.

 [ ](https://manuals.remository.com/payage-dev/introduction/licence) [](https://manuals.remository.com/payage-dev/how-payage-works/the-payage-database-tables)

---

## Navigation

- Previous: [Introduction](https://manuals.remository.com/payage-dev/introduction.md)
- Next: [Receiving Payments](https://manuals.remository.com/payage-dev/receiving-payments.md)
- Children:
  - [The Payage Database Tables](https://manuals.remository.com/payage-dev/how-payage-works/the-payage-database-tables.md)
  - [Payment Gateway Returns](https://manuals.remository.com/payage-dev/how-payage-works/payment-gateway-returns.md)
