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

Sandbox Paypal 1.0.4

No permission to download
Compatible XF 1.x versions
1.5
Additional requirements
Paypal Sandbox Account (IPN enabled)
Correctly set board URL
sandbox_payment_callback.php must not be password protected
License
MIT License
Visible branding
No
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
    Code:
    /sandbox_payment_callback.php
    Sample nginx config (DO NOT USE AS IS):
    Code:
    # anonymous access
    location = /sandbox_payment_callback.php {
        try_files $uri =404;
        fastcgi_pass 127.0.0.1:9001;
        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 127.0.0.1:9001;
      include fastcgi_params;
    }


Installation

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.

Contributions

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.
Author
Xon
Downloads
42
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Xon

Latest updates

  1. 1.0.4 - Maintenance Update

    Support Gift Upgrades 1.4.x by @NixFifty
  2. Maintenance update

    Support XF 1.5.8 dynamically extending Paypal processor. Required for User Essentials 2.7.0 support
  3. Feature update release

    Add-on compatibility fixes for: User Upgrade Permissions (v1.1.0 - future release) Expiring...