Payment Integration Demo
Embed the PawPay widget on your site to accept payments.
Live widget
The widget communicates with its parent via postMessage.
Send {action:"getConfig"} to retrieve the live API key.
Integration snippet
// Send from your page:
var widget = document.querySelector('iframe').contentWindow;
widget.postMessage({action: "getConfig"}, "*");
// Listen for the response:
window.addEventListener('message', function(e) {
console.log(e.data); // {config: {apiKey: "...", mode: "live"}}
});