# Embedding

Find out which embedding option works for you.\
No matter if you work with a [custom Gateway](https://docs.payrexx.com/developer/guides/gateway) 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 ](https://docs.payrexx.com/developer/guides/gateway)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="embedding/iframe" %}
[iframe](https://docs.payrexx.com/developer/guides/embedding/iframe)
{% 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="embedding/modal-window" %}
[modal-window](https://docs.payrexx.com/developer/guides/embedding/modal-window)
{% 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="embedding/mobile-apps" %}
[mobile-apps](https://docs.payrexx.com/developer/guides/embedding/mobile-apps)
{% endcontent-ref %}
