Skip to main content

Integration Flow Summary

  1. Load Script – Inject the SDK script and wait for onRevupSDKLoaded
  2. Create Order – Generate an order ID from your backend
  3. Configure – Build configuration with apiKey, merchantDomain, and orderId
  4. Instantiateconst revup = new Revup(config)
  5. Set Listenerrevup.onRevupMessage(handler)
  6. Initializeawait revup.init({ containerId: 'revup-container', ... })
  7. Handle Events – Process payment results in your event handler
  8. Cleanup – Remove listener and clear container when done