> For the complete documentation index, see [llms.txt](https://docs.bloomanalytics.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bloomanalytics.io/cost-setting/gateway.md).

# Gateway

Track payment gateway transaction fees in Bloom so gateway costs are included in your Shopify profit calculations automatically or manually.

### What is Gateway Cost?

Gateway Cost lets you track payment gateway transaction fees and include them in your profit calculations in Bloom. Shopify Payments and PayPal fees are handled automatically, and you can add costs manually for gateways Shopify does not cover (for example, PayU or custom gateways).

### How it Works

Bloom handles Shopify Payments and PayPal automatically, so in most cases you do not need to add anything manually.

**Shopify Payments**

If an end customer checks out using Shopify Payments, Bloom automatically pulls:

\- Percentage-based fee

\- Fixed fee (in USD)

These are applied based on the merchant's Shopify plan.

**Other Payment Gateways**

If an end customer uses a non-Shopify payment gateway, Shopify applies an alternative percentage fee based on the merchant's Shopify plan. Bloom automatically accounts for this as well.

For payment gateways that are not covered by Shopify (for example, Amazon or custom gateways), costs can be added manually. Manual gateway costs apply only to the selected gateway.

**Note:** If your payment gateway is not in Bloom, please feel free to reach out to us.

### How to Use it

To add a gateway cost for a payment gateway not covered by Shopify:

1. Click Add Gateway Cost.

<figure><img src="https://749049708-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9Cj862knfGNqzzPFauD6%2Fuploads%2F5W4YzzbLYv5uEO4caXuu%2Fimage.png?alt=media&amp;token=c3eac497-6e90-4a00-9f71-38c65a93d592" alt="Gateway Cost in Bloom"><figcaption></figcaption></figure>

2. Enter the Percentage fee.
3. Enter the Fixed fee.
4. Enter the External fee (if applicable).
5. Click Save.

<figure><img src="https://749049708-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9Cj862knfGNqzzPFauD6%2Fuploads%2FN5WKJWwQN5MtuiXvtQrb%2Fimage.png?alt=media&amp;token=e3a5370f-75fb-4788-b8e1-5f5e51067cd8" alt="Gateway Cost in Bloom"><figcaption></figcaption></figure>

6. Recalculate to ensure accurate profit metrics.

<figure><img src="https://749049708-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9Cj862knfGNqzzPFauD6%2Fuploads%2FO0nC6wWVmI2qrKcUF4jP%2Fimage.png?alt=media&amp;token=bac08eb2-7f39-4748-888d-b4d849a70010" alt="Gateway Cost in Bloom"><figcaption></figcaption></figure>
