This is the DPO module for Paid Memberships Pro. Please feel free to contact the DPO support team should you require any assistance.
- Unzip the module to a temporary location on your computer.
- On Filezila copy the wp-content folder in the archive to your base WordPress folder. This will merge the folders in the DPO module with your WordPress folders. You will be prompted to overwrite the paymentsettings.php file, select overwrite.
- Locate the paid-memberships-pro.php file in the root directory of the Paid Memberships Pro plugin.
- Add the following line of code before the first require_once statement:
require_once(PMPRO_DIR . "/classes/gateways/class.pmprogateway_dpo.php");
- If present, comment out the require_once line for Payfast by adding // at the beginning:
// require_once(PMPRO_DIR . "/classes/gateways/class.pmprogateway_payfast.php");
- Search for the array $pmpro_gateways. Add the following entry to the end of the array:
'dpo' => __('DPO', 'pmpro'),
- If present, comment out the PayFast entry by adding // at the beginning:
// 'payfast' => __('PayFast', 'pmpro'),
- Log in to the administration console of your website. Select Memberships from the menu, and go to Payment Settings. Under Payment Settings select Payment Gateway and SSL. Choose DPO from the Payment Gateway drop down menu. The DPO options will then be shown below. Enter your credentials and options and then click Save Changes.
Please submit pull requests with any tweaks, features or fixes you would like to share.