Resource icon

xF1 Add-on Sandbox Paypal 1.0.4

No permission to download
Compatible XF Versions
  1. 1.5
Additional Requirements:
Paypal Sandbox Account (IPN enabled)
Correctly set board URL
sandbox_payment_callback.php must not be password protected

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.
Author
AnimeHaxor
Size
6.5 KB
Extension
zip
Downloads
11
Views
802
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from AnimeHaxor

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. Add-on compatibility fixes for: User Upgrade Permissions (v1.1.0 - future release) Expiring User up

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

Similar resources

[TH] PayPal Sandbox
Turns on PayPal Sandbox mode for testing that your account upgrades work.
0.00 star(s) 0 ratings
Downloads
2
Updated
Advanced PayPal Donate system for XenForo.
4.00 star(s) 2 ratings
Downloads
251
Updated
Replace built-in PayPal with Paygates in PayPal Donate system.
0.00 star(s) 0 ratings
Downloads
14
Updated
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock