Skip to main content

Allowed Origins

Allowed Origins​

Morph Payments checkout can only be embedded by pages whose origin you have registered. Browsers enforce this: a page on any other origin sees a blocked frame.

Add an origin​

  1. Sign in to the Console at account.morph.network.
  2. Open Settings > Widget.
  3. Choose Add origin, enter the origin, and choose Submit origin.

A new origin is reviewed by Morph and only takes effect once it is approved. Removing an origin needs no review.

StatusMeaning
PendingThe add request is under review. Not yet allowed to embed checkout. You can withdraw it with Delete.
ActiveAllowed to embed checkout.
RejectedThe add request was rejected. Delete it and add a corrected origin.

Remove an origin​

Choose Delete on the origin. It is removed right away, with no review, and pages on that origin can no longer embed checkout.

What counts as an origin​

An origin is the scheme, host and optional port of the page that contains the checkout, not of the checkout itself.

RuleExample
Scheme and host onlyhttps://shop.example.com
Non-default port is part of the originhttps://shop.example.com:8443
https onlyhttp://shop.example.com is rejected
No path, query, or credentialshttps://shop.example.com/cart is rejected
No wildcardshttps://*.example.com is rejected
No IP addresses and no localhosthttps://203.0.113.10, http://localhost:3000 are rejected

A trailing /, the default port :443, and upper-case letters are normalized for you.

https://example.com and https://www.example.com are different origins. Register each one that will host the checkout.

Limits​

Each merchant can register up to 5 origins. Every origin in the list counts toward the limit, whether it is Pending, Active, or Rejected. Delete one to free a slot.

Next: Embed Checkout.