- 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
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.
When this add-on is active, XenForo will refuse to talk to live Paypal.
Activation requirements
- 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).
- Ensure your Business sandbox user has Instant Payment Notification (IPN) enabled.
- Ensure this sandbox user is used by XenForo paypal configuration.
- Ensure the board site URL points to the site (ie testing.example.com)
- 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.