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
- Sign in to the Console at account.morph.network.
- Open Settings > Widget.
- 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.
| Status | Meaning |
|---|---|
Pending | The add request is under review. Not yet allowed to embed checkout. You can withdraw it with Delete. |
Active | Allowed to embed checkout. |
Rejected | The 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.
| Rule | Example |
|---|---|
| Scheme and host only | https://shop.example.com |
| Non-default port is part of the origin | https://shop.example.com:8443 |
https only | http://shop.example.com is rejected |
| No path, query, or credentials | https://shop.example.com/cart is rejected |
| No wildcards | https://*.example.com is rejected |
No IP addresses and no localhost | https://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.