# How Plugins Work

## How Ninjapay Plugins Work <a href="#how-cash-app-pay-works" id="how-cash-app-pay-works"></a>

Ninjapay currently supports four main use cases:

* Mobile-Ecommerce
* Web-Ecommerce
* POS (Point-of-Sale)
* Paywalls<br>

<figure><img src="https://3353622060-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRIvNeAljKee4MyCDRI9m%2Fuploads%2FfvnVNbQorwnd448DQa2W%2Fimage.png?alt=media&#x26;token=8f0ed4df-95c7-40ba-a660-1a1f2a3ad3f2" alt=""><figcaption></figcaption></figure>

## Mobile-Ecommerce <a href="#mobile-ecommerce" id="mobile-ecommerce"></a>

The Customer visits a mobile ecommerce app(or site) and uses their Cash App to pay for goods and services.\ <br>

<figure><img src="https://3353622060-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRIvNeAljKee4MyCDRI9m%2Fuploads%2FOssdUyaCeKGNoLC4qOPC%2Fimage.png?alt=media&#x26;token=bee9adfc-2bc1-4031-8e64-f08dc307de4a" alt=""><figcaption></figcaption></figure>

## Web-Ecommerce <a href="#web-ecommerce" id="web-ecommerce"></a>

The Customer visits a web-based ecommerce site and pays for items by scanning the QR code generated at checkout using Cash App on their phone.<br>

<figure><img src="https://3353622060-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRIvNeAljKee4MyCDRI9m%2Fuploads%2FcsrLhvRBXYpwLW6npMyU%2Fimage.png?alt=media&#x26;token=fae72065-6272-4627-b555-5864b0bbd245" alt=""><figcaption></figcaption></figure>

## POS <a href="#pos" id="pos"></a>

Customer goes to a merchant and uses a Point-of-Sale (POS) device, for example, like the Square POS device.\ <br>

<figure><img src="https://3353622060-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRIvNeAljKee4MyCDRI9m%2Fuploads%2Fs3u8w9gR7ChkooPm5LY3%2Fimage.png?alt=media&#x26;token=30e6c44f-1363-4625-8578-8b99e0496116" alt=""><figcaption></figcaption></figure>

## Paywall <a href="#web-ecommerce" id="web-ecommerce"></a>

The Customer visits a web-based ecommerce site and pays for items by scanning the QR code generated at checkout using Cash App on their phone.<br>

<figure><img src="https://3353622060-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRIvNeAljKee4MyCDRI9m%2Fuploads%2FcsrLhvRBXYpwLW6npMyU%2Fimage.png?alt=media&#x26;token=fae72065-6272-4627-b555-5864b0bbd245" alt=""><figcaption></figcaption></figure>

## Invoicing <a href="#web-ecommerce" id="web-ecommerce"></a>

The Customer visits a web-based ecommerce site and pays for items by scanning the QR code generated at checkout using Cash App on their phone.<br>

<figure><img src="https://3353622060-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRIvNeAljKee4MyCDRI9m%2Fuploads%2FcsrLhvRBXYpwLW6npMyU%2Fimage.png?alt=media&#x26;token=fae72065-6272-4627-b555-5864b0bbd245" alt=""><figcaption></figcaption></figure>

## WhatsApp/Telegram Bots <a href="#web-ecommerce" id="web-ecommerce"></a>

The Customer visits a web-based ecommerce site and pays for items by scanning the QR code generated at checkout using Cash App on their phone.<br>

<figure><img src="https://3353622060-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRIvNeAljKee4MyCDRI9m%2Fuploads%2FcsrLhvRBXYpwLW6npMyU%2Fimage.png?alt=media&#x26;token=fae72065-6272-4627-b555-5864b0bbd245" alt=""><figcaption></figcaption></figure>

To learn more about how Ninjapay plugin works on different devices, see the following:

* [Cash App Pay on Mobile devices](https://developers.cash.app/docs/api/product-documentation/cash-app-pay-on-mobile-devices)
* [Cash App Pay on Desktop and POS devices](https://developers.cash.app/docs/api/product-documentation/cash-app-pay-on-desktop-and-pos-devices)
