Paymentwall website uses cookies to store your browsing preferences on your device. However, cookies do not collect personal information.

For more information about how we use cookies, check our cookie policy

Close

Documentation

New Documentation Getting Started API Libraries APIs Checklists Flows Integrations Mobile SDKs Reference Smart TV SDK SpiderPipe Testing Payments
Contacts
If you still have questions regarding integration, please email us at devsupport@paymentwall.com

PHPFox

Instructions for using Paymentwall for PHPFox

If you don't have a Paymentwall Merchant Account yet, please Sign Up.

Installing Paymentwall

  1. Download the archive PaymentwallForPHPFox.zip attached to this article, unzip it.
  2. Copy the module files into PF.Base/, preserving the file locations.
  3. Run the database updates in paymentwall_phpfox_db_query.sql
    1. Change the default `dbphpfox` database name to your PHPFox installation's database.
    2. Change the database table prefix with the one that your are using.
    3. Import the SQL into your database.
    4. 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

Creating a project inside of your Paymentwall Merchant Account

  1. Go to My Projects.
  2. Click Add New Project.
  3. Provide your Website name and URL in Project Name and Project URL fields.
  4. Click Settings. Under Your API select Digital Goods.
  5. Set PingBack URL to http://yoursite.com/?do=api/gateway/callback/paymentwall. Click Save Changes.
  6. Click Test Pingback, then Edit Pingback. Set Signature version to 2.
  7. Under Custom PingBack params subsection, please add amount as the parameter name, and OWN as value and click Save.
  8. On the Widgets page add a widget of your choice, e.g. Paymentwall Multi p10_1

Activating Paymentwall inside of your PHPFox AdminCP

  1. On your AdminCP, go to Settings -> Payment Gateways
  2. Click Paymentwall's dropdown and Edit Gateway Settings.
  3. Fill out the Paymentwall project key, secret key, and widget code from your project. These details can be found inside of your Paymentwall Merchant Account. Project Key and Secret Key are available on My Projects page. Widget Code is available on Widgets page.
  4. Select Yes on Active, then click Update.
  5. Go to AdminCP -> Modules and AdminCP -> Products and Reactivate Paymentwall and click Save.

Submitting the project for approval inside of your Paymentwall Merchant Account

  1. Go to My Projects.
  2. Click the Submit for Review button next to your project name.
  3. Click Yes on "Have you completed these steps?", fill out the fields on the next step, click Yes.
  4. Your project will be reviewed and approved shortly.

After this is done, you can start accepting payments through Paymentwall.

This module was tested with PHPFox v4.4.6 If you have any questions, please contact us at devsupport@paymentwall.com for more information.

This page needs JavaScript
Your browser is
not supported anymore.
Please update to the more recent one.
This page needs JavaScript
This page needs JavaScript.
Please enable it in your browser settings and try again.
We use cookies on this website to make your browsing experience better. By using the Paymentwall website you agree to our Cookies Policy.