Integration Prerequisites
To integrate SmartPay for online payments, please ensure the following steps are completed:
- 
The Key Account Manager has been assigned to the project.
 - 
The Product Solution Specialist has been assigned to the project.
 - 
The required payment options for the project have been confirmed with the above contacts.
 - 
Please inform the Product Solution Specialist of the domain you intend to use for configuration.
- 
Only domains with HTTPS are allowed; HTTP is not supported.
 - 
Domains containing localhost or 127.0.0.1 are not allowed. For local development and testing, an alias (e.g., "my-merchant-shop.local") can be configured in the hosts file on your local machines. To ensure this alias functions correctly, follow these steps:
- Request whitelisting of the alias (e.g., "my-merchant-shop.local") from your Product Solution Specialist (PSS).
 - Ensure that the alias is configured in the hosts file on each developer's local machine, mapping the domain (e.g., "my-merchant-shop.local") to the 127.0.0.1 IP address. On Windows machines the hosts file is located at: 
C:\Windows\System32\drivers\etc\hosts. 
 - 
Please note that domains with and without "www" are distinct. You can either choose one or provide both, for example, "https://www.domain.com" and "https://domain.com".
 - 
Use only the main part of the website address, like "domain.com", and skip any extras at the end, such as "https://domain.com/pay". SmartPay and the SmartPay User's Browser will disregard extra details.
 - 
Examples of valid domains:
https://example.comhttps://subdomain.example.orghttps://www.example.nethttps://example.io
 
 - 
 - 
Ensure that the latest SmartPay SDK bundle is integrated into the web page from this link:
sdk.smartpay.jpmmps.com/smp-bundle.js.infoIt is essential to link to this file from SmartPay servers and avoid self-hosting.
 - 
To customize the appearance of SmartPay, reach out to your Product Solution Specialist to discuss available options for adapting the SmartPay Frontend (JavaScript/CSS) Library to meet your brand's styling requirements.
 - 
Make sure you have obtained the most recent Sandbox Merchant Key from the Sandbox vs. Production page.
 - 
Configure your web server to allow SmartPay from
cons.sdk.smartpay.jpmmps.comto access styles and fonts from your stylesheet by setting upAccess-Control-Allow-Origin.