Client-Side Integration:
Frontend calls /masterpass-js/ to get configuration
/masterpass-js/
Response includes JavaScript URL, client ID, merchant ID, return URL
Frontend loads Masterpass JavaScript library
User completes Masterpass authentication
3D Secure flow initiated if enabled
Return to checkout on completion
Configuration Elements:
js: Masterpass JavaScript library URL from gateway config
js
client_id: OAuth client identifier for API access
client_id
merchant_id: Merchant identifier (empty for custom merchant type)
merchant_id
s3d_return_url: Return URL after 3D Secure verification
s3d_return_url
Last updated 3 months ago
Was this helpful?