Paymentwall’s PHPfox plug-in is easy to install and fully customizable. With a single integration, all of your products on PHPfox marketplace will be monetized with 150+ payment options localized in 75+ currencies and more than 200 countries.
This tutorial assumes that you have a Paymentwall account. Please Sign up if you don’t have one.
Paymentwall’s plug-in for PHPfox can be downloaded here.
Project configuration in Paymentwall system
Login to Paymentwall system with your account.
Go to My Projects tab. You will see your new project already created.
Secret Keywill be needed later to finish the project setup on PHPfox admin panel.
In Settings section, please set your project type to
Set Pingback type to URL.
Configure your Pingback URL to http://[your-domain]/?do=api/gateway/callback/paymentwall.
Choose the Pingback Signature Version to version 3.
Remember to save changes at the bottom of Settings section.
- In Widgets section, create a widget that you prefer. And save changes. You will see
Widget codeafter widget creation, which will also be needed later on PHPfox admin panel.
Setup Paymentwall module on your platform
Upload all files from PaymentwallForPHPFox directory to your PF.Base/ folder using an FTP client of your choice.
Run the database updates in paymentwall_phpfox_db_query.sql
Change the default
dbphpfoxdatabase name to your PHPFox installation’s database.
Change the database table prefix with the one that your are using.
Import the SQL into your database.
If you are using PHPFox 4.5 or higher, please add ‘phpfox.gateway.api.paymentwall’ => ‘library/phpfox/gateway/api/paymentwall.class.php’, into file /PF.Base/include/class_map.config.php and ‘gateway.api.paymentwall’ => \Phpfox_Gateway_Api_Paymentwall::class, into file /PF.Base/include/package.config.php.
On your AdminCP, please go to Settings -> Payment Gateways
Click Paymentwall dropdown and choose Edit Gateway Settings
- Fill all the required fields.
Secret Keycan be found in your Paymentwall Account in My Projects tab.
Widget codeis available in your Widgets section of your Paymentwall project of PHPfox.
- Select Yes on Active, then click Update.
If you are using earlier version of PHPfox, please go to AdminCP -> Modules and Reactivate Paymentwall and click Save
Paymentwall provides supports for PHPfox versions 3 and 4.
List of available Payment Methods can be discovered here.
Contact firstname.lastname@example.org if you find the version of your PHPfox module is not supported.
You can start to test payments of your projects.
Once you make sure everything works smoothly, please submit your project to go live.