We stripped away complex integrations. Set up your dedicated store POS in 10 minutes and accept Pi payments securely with direct, intermediary-free A2U automated settlements.
Copy our drop-in snippet and start accepting Pi payments immediately.
No complex SDK build steps. Simply include pop-widget.js in your HTML or Next.js app.
Server-to-server REST API safely manages payment sessions with a strict 100-second timeout, completely preventing unverified transactions.
Receive instant signed confirmation when on-chain transaction finality is reached on Pi Network.
<!-- 1. Include POP Checkout Widget Script -->
<script src="https://cdn.pop-protocol.com/v1/pop-widget.js"></script>
<!-- 2. Call PopCheckout.open with issued sessionId -->
<button onclick="handleCheckout()">Pay with Pi</button>
<script>
function handleCheckout() {
PopCheckout.open({
sessionId: "cs_live_9a8b7c6d5e4f3a2b",
onCompleted: (res) => {
console.log("Payment Confirmed! TxID:", res.pi_txid);
window.location.href = "/order/success?order_id=" + res.dapp_order_id;
},
onClosed: () => console.log("Checkout modal dismissed")
});
}
</script>The safest Pi payment infrastructure connecting merchants worldwide. Join the next-generation Pi ecosystem today.