> For the complete documentation index, see [llms.txt](https://docs.payrexx.com/developer/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.payrexx.com/developer/guides/embedding.md).

# Embedding

Find out which embedding option works for you.\
No matter if you work with a [custom Gateway](/developer/guides/gateway.md) or the [Payrexx tools](https://docs.payrexx.com/merchant/payrexx-administration/tools).

{% hint style="warning" %}
Prior to this article, you should have created a [Gateway ](/developer/guides/gateway.md)or configured a [Payrexx tool](https://docs.payrexx.com/merchant/payrexx-administration/tools)!
{% endhint %}

## Redirect

After the payment, your buyer will be redirected back to your site.

{% hint style="success" %}
We recommend redirection for complex integrations using the Payrexx API
{% endhint %}

## iFrame

The iFrame lets you seamlessly integrate a payment form into your website.\
This can be a good marketing website integration opportunity.

{% content-ref url="/pages/-MdGNLD4Rsz35wTy4iip" %}
[iFrame](/developer/guides/embedding/iframe.md)
{% endcontent-ref %}

### Limited Payment Providers in iFrame

Some payment providers or payment methods do not allow embedding in an iFrame and cannot be used. These include *PayPal* and *Coinbase*.

Others can only be used with specific setup configurations. Such as *Google Pay*.

*PostFinance* is disabled in iFrames if the client device disallows 3rd party cookies. This is the standard behaviour for iOS and MacOS.

## Modal Window

Your buyer will never leave your website with the modal window. The payment form appears in a pop up window.

{% content-ref url="/pages/-MdGNN6YwZxN27dbwiQF" %}
[Modal Window](/developer/guides/embedding/modal-window.md)
{% endcontent-ref %}

### Limited Payment Providers in Modal Window

Some payment providers or methods do not allow embedding in a Modal Window and cannot be used. These include *PayPal and* *Coinbase*.

*PostFinance* is disabled in Modal Windows if the client device disallows 3rd party cookies. This is the standard behaviour for iOS and MacOS clients.

## Mobile Apps

Also for mobile apps based on JavaScript there is an available solution.

{% content-ref url="/pages/-Mi5aZmjExa3ipjg6EIt" %}
[Mobile Apps](/developer/guides/embedding/mobile-apps.md)
{% endcontent-ref %}
