Localpayment Smart Fields provide a secure and seamless way to collect sensitive payment information directly on your website while reducing PCI DSS compliance scope. This guide explains how to include the Localpayment SDK in your web application.
Include the Smart Fields SDK
Choose the appropriate environment for your integration:
Include the following script tag in the <head> section of your HTML:
<!DOCTYPE html>
<html>
<head>
<title>Your Website</title>
<script src="https://sdk.stage.localpayment.com/localpayment-sdk.min.js"></script>
</head>
<body>
<!-- Your content -->
</body>
</html>Important Notes
- The SDK must be loaded directly from our CDN - do not download, host, or bundle the SDK files locally.
- Always use the latest version from the CDN for security and feature updates.
- The SDK is only available via HTTPS for security reasons.
Browser Support
Localpayment Smart Fields support all modern browsers:
- Chrome 60+
- Firefox 55+
- Safari 12+
- Edge 79+
