Configure Safeπ for Pi Network Payments
Your app wallet is not yet configured. Follow the steps below to enable Pi Network payments.
Visit the Pi Network developer portal to manage your app.
Open Developer DashboardLocate "Safeπ" in your list of apps. Click on it to open the app settings.
In the app settings, look for "Capabilities" or "Features" and enable "Payments".
RequiredIn the "Wallet" section of your app settings, create a new wallet if one doesn't exist. This wallet will receive Pi payments from users.
Copy the wallet address from your app settings:
Update the wallet address in your app code:
lib/payment-config.tsPush your changes to production. Download the code from v0 and deploy to your hosting platform.
Open your app in Pi Browser and test the Daily Pass purchase flow. Payments are simulated in development mode (v0.app, localhost).
"Developer wallet not created yet": You haven't created a wallet for your app in the Developer Dashboard. Follow Step 4 above.
Payments not working in production: Ensure you updated the wallet address in payment-config.ts and redeployed.
Testing in v0 or localhost: Payments are automatically simulated in development mode. No real Pi needed.