Pesapal Gateway Setup
Setup Instructions:
1. Update the configuration values in this file
2. Upload your gateway files to your server
3. Run this setup to register your IPN URL
4. Configure Pabbly Subscription with your gateway URL
Current Configuration
Environment: ProductionConsumer Key: uRgL6hzW...Consumer Secret: DlRm4UAi...IPN URL: https://app.messagemarvel.com/pesapal-ipn.php
Setup Actions
Next Steps
After IPN registration:
1. Copy the IPN ID and update all your gateway files
2. Test the integration using Pesapal sandbox
3. Upload files to your production server
4. Configure Pabbly Subscription with your gateway URL
5. Switch to production mode when ready
File Checklist
Make sure you have these files on your server:
• pesapal-gateway.php - Main gateway integration
• pesapal-callback.php - Payment callback handler
• pesapal-ipn.php - IPN listener
• lib/Subscription.php - Pabbly Subscription library
• logs/ directory (writable) - For IPN logs
Pabbly Configuration
Gateway URL: https://app.messagemarvel.com/pesapal-gateway.php
Gateway Name: Pesapal
Security Notes:
• Never expose your consumer secret in client-side code
• Use HTTPS for all URLs in production
• Monitor the IPN logs for any issues
• Test thoroughly in sandbox before going live