# Use a plugin

> Connect your online shop to TapPay with a plugin, and see which settings and platforms it covers.

Source: https://docs.tappay.mn/no-code/plugins/

## What a plugin is {#what-a-plugin-is}

A plugin connects an online shop to TapPay. For each order it opens a hosted [checkout session](https://docs.tappay.mn/glossary.md#checkout-session), and then it waits for the webhook about the [payment](https://docs.tappay.mn/glossary.md#payment). You write no code.

## Settings of every plugin {#settings}

A plugin needs your [secret key](https://docs.tappay.mn/glossary.md#secret-key) and a [webhook secret](https://docs.tappay.mn/glossary.md#webhook-secret). You also choose between the [sandbox](https://docs.tappay.mn/glossary.md#sandbox) and [production](https://docs.tappay.mn/glossary.md#production), and you can [refund](https://docs.tappay.mn/glossary.md#refund) a [customer](https://docs.tappay.mn/glossary.md#customer) from the plugin.

- **Secret key.** The plugin uses your [secret key](https://docs.tappay.mn/glossary.md#secret-key) to talk to TapPay. The platform keeps it in its own secret storage.
- **Webhook secret.** The plugin checks every webhook with the [webhook secret](https://docs.tappay.mn/glossary.md#webhook-secret) of its [webhook endpoint](https://docs.tappay.mn/glossary.md#webhook-endpoint).
- **Sandbox or production.** Switch the plugin between a test mode with sandbox keys and a live mode with production keys.
- **Refunds.** You refund an order from the plugin, and TapPay returns the money to the customer.

## How an order is marked as paid {#how-an-order-is-paid}

The plugin does not trust the page that the customer sees after paying. It marks an order as paid only after a webhook arrives, or after it reads the session with a `GET` request.

## Platforms {#platforms}

TapPay publishes plugins for these platforms, in this order. The WooCommerce, Odoo and OpenCart plugins are not in these directories yet: download the zip file from the merchant portal under **Connections › TapPay systems › Online store**.

| Order | Platform | Where it is published |
| - | - | - |
| 1 | [WooCommerce](https://docs.tappay.mn/no-code/plugins/woocommerce.md) | WordPress.org plugin directory |
| 2 | [Odoo](https://docs.tappay.mn/no-code/plugins/odoo.md) | Odoo Apps |
| 3 | [OpenCart](https://docs.tappay.mn/no-code/plugins/opencart.md) | OpenCart marketplace |
| 4 | Shopify | After Shopify approves TapPay as a Payments Partner |

## Build your own {#build-your-own}

If your platform is not in the list, build the same flow yourself. Start with the [webhooks guide](https://docs.tappay.mn/guides/webhooks.md) and the [checkout guide](https://docs.tappay.mn/guides/checkout.md).
