1. 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

Discussion in 'Resolved Bug Reports' started by Nobita.Kun, Jul 19, 2014.

  1. Nobita.Kun

    Nobita.Kun 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
    'payPalUrl' => 'https://www.paypal.com/cgi-bin/webscr',
    But in processor you check:

    if ($this->_filtered['test_ipn'] && XenForo_Application::debugMode())
                    $validator = XenForo_Helper_Http::getClient('https://www.sandbox.paypal.com/cgi-bin/webscr');
                    $validator = XenForo_Helper_Http::getClient('https://www.paypal.com/cgi-bin/webscr');
    Hoffi likes this.
  2. Liam W

    Liam W Well-Known Member

    It's designed to be hard coded like that. There's a commented line

    Its more secure this way.
  3. Jon W

    Jon W Well-Known Member

  4. Nobita.Kun

    Nobita.Kun Well-Known Member

    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:
  5. Mike

    Mike XenForo Developer Staff Member

    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.
  6. Nobita.Kun

    Nobita.Kun Well-Known Member

    Yep! But in dev mode. I can't find any option for that :)

Share This Page