Whitelist all the domains that your requests will originate from.
For requests to go through properly, your domains need to be whitelisted first. If they're not, any requests originating from them will be blocked.
Domain whitelisting is configured at the site level, rather than the merchant group or merchant level.
In the Unity Portal, go to Merchant setup > Sites.
Select a site from the list.
Go to the General information tab.
Scroll down to the Whitelisted domains section.
Click the + Add whitelisted domain button. A new input field is displayed.
Enter your domain. You should only use valid domain formats. For example,
example.com
rather thanhttp://example.comorwww.example.com(unless prefixes are required).Once you leave the field, the domain will be validated.
If valid, scroll back to the top of the page and click the Save button in the top right.
Your domain is now whitelisted. You can repeat these steps for any additional domains.
In the Unity Portal, go to Merchant Setup > Merchants.
Select the relevant merchant.
Go to the Sites tab.
Click the + New site button.
In the modal, fill in the required site details.
Scroll to the Whitelisted domains section.
Click on the + Add whitelisted domain button and input the domain. You can add several if you'd like.
Click the Save button to confirm.
Your domain is now whitelisted.
To delete a whitelisted domain, click on the recycling bin icon () next to it.