SDK integration
Both SDK integration modes require the merchant to place a script element tag inside the payment page DOM, ideally inside the head element:
<script
type="text/javascript"
charSet="utf-8"
src="<Macropay public sdk url>" />
Depending on the Revup integration mode to be used, one the following URLs must be provided in the script tag above:
- Revup Form: https://hosted.macropay.com/sdk/v0/macropay.min.js
- Revup Frames: https://hosted.macropay.com/iframes-sdk/v0/macropay.min.js
info
Test environment URL
This script tag will load the transpiled/minified code into the merchant document page and will be available for the merchant at the global or window object as two JavaScript classes named Macropay and MacropayFrames.