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

Sandbox Paypal 1.0.2

Forces the use paypal sandbox

  1. Xon
    Compatible XF Versions:
    • 1.5
    Additional Requirements:
    Paypal Sandbox Account (IPN enabled)
    Correctly set board URL
    sandbox_payment_callback.php must not be password protected
    MIT License
    Visible Branding:
    Forces XenForo to use the Paypal sandbox.

    When this add-on is active, XenForo will refuse to talk to live Paypal.

    Activation requirements

    1. Log in with your paypal account into https://developer.paypal.com/, and ensure you have a Business sandbox user and a Personal sandbox user (you may need to change the password on any existing accounts).
    2. Ensure your Business sandbox user has Instant Payment Notification (IPN) enabled.
    3. Ensure this sandbox user is used by XenForo paypal configuration.
    4. Ensure the board site URL points to the site (ie testing.example.com)
    5. Your webserver must be configured to allow anonymous access to the file
      Sample nginx config (DO NOT USE AS IS):
      # anonymous access
      location = /sandbox_payment_callback.php {
          try_files $uri =404;
          include fastcgi_params;
      # password protect site access
      location ~ \.php$ {
        auth_basic "Restricted";
        auth_basic_user_file /var/www/html/.htpasswd;
        log_not_found off;
        try_files $uri =404;
        fastcgi_pass fastcgi_pass;
        include fastcgi_params;


    I recommend using Add-on install & upgrade or [TH] Install and Upgrade to install this addon.

    Contributing features or bug fixes
    Please create a Github Pull request via the "Find more info at github.com..." link.


    If you appreciate this addon, please consider a contribution via PayPal. Details will be provide via private conversation.

    Please contact me if you wish for different licencing arrangements.