Front-end integration for Braintree

Get your checkout pages up and running for Flex rescue service.


Prerequisite

  • Your test checkout page must be hosted using HTTPS protocol
  • Please share the url of your test environment so that we can whitelist it



1. Retrieve your script


From the Sites Page in the Developer section, click the View/Edit button of the site you want to retrieve.




2. Copy paste on your website


Select the Sense JS tab, copy the first script in your header.



❗️

Content Security Policy

If you use CSP (Content Security Policy) headers on your site, you must allow the "*.flex-charge.com" in connect-src directive for full functionality based on your host configuration.

Content-Security-Policy: connect-src 'self' https://*.flex-charge.com;

3. Repeat for every website boarded with Flex

Cannot find the websites you want to use?

Contact [email protected]


What’s Next