WordPress Profit System PayPal Sandbox
-
I would like to use PayPal sandbox to test my WordPress Sales Site and can find no mention of the PayPal sandbox in the WordPress Profit System plugin documentation.The PayPal buttons are generated by WPS so I cannot see the code for them.
I have found the following PHP code in one of the plugin routines:
<?php
if (!class_exists(‘ubam_dpdemon_notify’)) {
class ubam_dpdemon_notify {var $master;
function ubam_dpdemon_notify($masterclass) { $this->master = $masterclass; }
function do_pp_ipn() {
global $wpdb;
$mlpBase = $this->master;if (!$paypal_sandbox == 0) {
$paypal_url = “www.sandbox.paypal.com/cgi-bin/webscr”;
$paypal_ipn_url = “www.sandbox.paypal.com”;
}
else {
$paypal_url = “www.paypal.com/cgi-bin/webscr”;
$paypal_ipn_url = “www.paypal.com”;
}
I have tried hacking this code but failed. What I would like is a non coding solution, if possible, although there appears to be nowhere in the UI to set this condition. Any simple solution would be welcome please!
- The topic ‘WordPress Profit System PayPal Sandbox’ is closed to new replies.