• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Not a bug Paypal alway live although use sandbox

truonglv

Formerly Nobita.Kun
#1
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');
            }
 

truonglv

Formerly Nobita.Kun
#4
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:
 

Mike

XenForo developer
Staff member
#5
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.