Not a bug Paypal alway live although use sandbox

truonglv

Well-known member
Hi! Im not sure is bug! On debug enabled or disabled you only use paypal on live. No way to change sandbox mod!

In XenForo_ControllerPublic_Account::1472
Code:
'payPalUrl' => 'https://www.paypal.com/cgi-bin/webscr',
But in processor you check:

Code:
if ($this->_filtered['test_ipn'] && XenForo_Application::debugMode())
            {
                $validator = XenForo_Helper_Http::getClient('https://www.sandbox.paypal.com/cgi-bin/webscr');
            }
            else
            {
                $validator = XenForo_Helper_Http::getClient('https://www.paypal.com/cgi-bin/webscr');
            }
 
I knew that. But why don't leave an option for that? Hmm! If I want to try with user upgrade system. I must edit manual each time :oops:
 
Because you need to make an active decision to do it. It's not something an end user needs to do.

It's a developer tool, just like debug mode.
 
Back
Top Bottom