Compare commits

...

5 Commits

Author SHA1 Message Date
Nicolas Dorier
3dcb891f5e
Update README.md 2022-02-23 11:47:55 +09:00
Braydon Fuller
cd0e789d5a
Update README references (#73) 2022-02-23 11:41:09 +09:00
Andreas Tasch
131ed1711a
Marking plugin as legacy and linking new plugin. (#74)
* Marking plugin as legacy and linking new plugin.

* More precise explanation.
2022-02-23 11:40:52 +09:00
nicolas.dorier
989e12d84f
the plugin should not restrain the available currencies 2021-11-07 12:26:59 +09:00
Andreas Tasch
e55af1b02e Compability with most recent version. 2021-10-13 11:47:47 +02:00
4 changed files with 40 additions and 16 deletions

View File

@ -2,6 +2,14 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).
## 3.0.16
- Updating readme with legacy notice and link to new V2 version.
## 3.0.15
- Fix: the plugin should not restrain the available currencies @NicolasDorier
## 3.0.14
- Fix: the plugin would to work on some domains, due to a https error @ndeet

View File

@ -1,3 +1,9 @@
| :warning: WARNING |
|:---------------------------|
| **This plugin, based on the legacy BitPay API and has been discontinued and will only receive security updates. While it will continue to work just fine it won't get any new features. We encourage you use our more modern and actively developed [BTCPay for WooCommerce V2](https://wordpress.org/plugins/btcpay-greenfield-for-woocommerce/) plugin that builds on top of the more feature rich BTCPay Server Greenfield API.** |
## Quick Start Guide
To get up and running with our plugin quickly, see the GUIDE here: https://docs.btcpayserver.org/integrations/woocommerce
@ -45,13 +51,13 @@ $ ./node_modules/.bin/grunt build
## Support
### BitPay Support
### BTCPay Support
* Last Version Tested: Wordpress 4.8.1 WooCommerce 3.1.2
* [GitHub Issues](https://github.com/btcpayserver/woocommerce-plugin/issues)
* Open an issue if you are having issues with this plugin.
* [Support](https://docs.btcpayserver.org)
* BitPay merchant support documentation
* BTCPay merchant support documentation
### WooCommerce Support
@ -64,7 +70,7 @@ $ ./node_modules/.bin/grunt build
1. Ensure a valid SSL certificate is installed on your server. Also ensure your root CA cert is updated. If your CA cert is not current, you will see curl SSL verification errors.
2. Verify that your web server is not blocking POSTs from servers it may not recognize. Double check this on your firewall as well, if one is being used.
3. Check the version of this plugin against the official plugin repository to ensure you are using the latest version. Your issue might have been addressed in a newer version! See the [Releases](https://github.com/btcpayserver/woocommerce-plugin/releases) page for the latest.
4. If all else fails, enable debug logging in the plugin options and send the log along with an email describing your issue **in detail** to support@bitpay.com
4. If all else fails, enable debug logging in the plugin options and open an issue or contact the [community](https://github.com/btcpayserver/btcpayserver#-community).
**TIP**: When contacting support it will help us is you provide:
@ -86,8 +92,8 @@ Powershell:
Linux:
```
rm -rf dist/
docker build -t woocommerce_bitpay .
docker run -ti -v "`pwd`/dist:/app/dist" --rm woocommerce_bitpay
docker build -t woocommerce_btcpay .
docker run -ti -v "`pwd`/dist:/app/dist" --rm woocommerce_btcpay
echo "Output available in `pwd`/dist/btcpay-for-woocommerce.zip"
```
@ -114,7 +120,7 @@ Would you like to help with this project? Great! You don't have to be a develo
If you *are* a developer wanting contribute an enhancement, bugfix or other patch to this project, please fork this repository and submit a pull request detailing your changes. We review all PRs!
This open source project is released under the [MIT license](http://opensource.org/licenses/MIT) which means if you would like to use this project's code in your own project you are free to do so. Speaking of, if you have used our code in a cool new project we would like to hear about it! Please send us an email or post a new thread on [BitPay Labs](https://labs.bitpay.com).
This open source project is released under the [MIT license](http://opensource.org/licenses/MIT) which means if you would like to use this project's code in your own project you are free to do so. Speaking of, if you have used our code in a cool new project we would like to hear about it! Please get [in contact](https://github.com/btcpayserver/btcpayserver#-community).
## License

View File

@ -1,13 +1,13 @@
<?php
/*
Plugin Name: BTCPay for WooCommerce
Plugin Name: BTCPay for WooCommerce (Legacy)
Plugin URI: https://wordpress.org/plugins/btcpay-for-woocommerce
Description: Enable your WooCommerce store to accept Bitcoin with BTCPay.
Author: BTCPay
Author URI: https://github.com/btcpayserver
Version: 3.0.14
Version: 3.0.16
License: Copyright 2011-2018 BTCPay & BitPay Inc., MIT License
License URI: https://github.com/btcpayserver/woocommerce-plugin/blob/master/LICENSE
GitHub Plugin URI: https://github.com/btcpayserver/woocommerce-plugin
@ -23,7 +23,7 @@ if (false === defined('ABSPATH')) {
exit;
}
define("BTCPAY_VERSION", "3.0.14");
define("BTCPAY_VERSION", "3.0.16");
$autoloader_param = __DIR__ . '/lib/Bitpay/Autoloader.php';
// Load up the BitPay library
@ -287,7 +287,7 @@ function woocommerce_btcpay_init()
// Ensure the currency is supported by BitPay
try {
$currency = new \Bitpay\Currency(get_woocommerce_currency());
$currency = new \Bitpay\CurrencyUnrestricted(get_woocommerce_currency());
if (false === isset($currency) || true === empty($currency)) {
$this->log(' [Error] The BTCPay payment plugin was called to check if it was valid for use but could not instantiate a currency object.');

View File

@ -1,18 +1,20 @@
=== BTCPay for WooCommerce ===
Contributors: Kukks,NicolasDorier,bitcoinshirt
=== BTCPay for WooCommerce (Legacy) ===
Contributors: Kukks,NicolasDorier,bitcoinshirt,ndeet
Tags: bitcoin,cryptocurrency,btcpay,BTCPay Server,btcpayserver, accept bitcoin,bitcoin plugin, bitcoin payment processor, bitcoin e-commerce, Lightning Network, Litecoin
Requires at least: 3.9
Tested up to: 5.5
Tested up to: 5.9
Requires PHP: 5.6
Stable tag: master
License: MIT
License URI: https://github.com/btcpayserver/woocommerce-plugin/blob/master/LICENSE
BTCPay Server is a free and open-source cryptocurrency payment processor which allows you to receive payments in Bitcoin and altcoins directly, with no fees, transaction cost or a middleman.
This plugin is a fork of https://github.com/bitpay/woocommerce-plugin which in turn is a fork of https://github.com/jaafit/bitpayWoocommerce
Now discontinued BTCPay Server plugin based on BitPay API. Please use the new [BTCPay for WooCommerce V2](https://wordpress.org/plugins/btcpay-greenfield-for-woocommerce/) instead.
== Description ==
**NOTE:**
**This plugin, based on the legacy BitPay API and has been discontinued and will only receive security updates. While it will continue to work just fine it won't get any new features. We encourage you use our more modern and actively developed [BTCPay for WooCommerce V2](https://wordpress.org/plugins/btcpay-greenfield-for-woocommerce/) plugin that builds on top of the more feature rich BTCPay Server Greenfield API.**
BTCPay Server is a free and open-source cryptocurrency payment processor which allows you to receive payments in Bitcoin and altcoins directly, with no fees, transaction cost or a middleman.
BTCPay is a non-custodial invoicing system which eliminates the involvement of a third-party. Payments with BTCPay go directly to your wallet, which increases the privacy and security. Your private keys are never uploaded to the server. There is no address re-use since each invoice generates a new address deriving from your xpubkey.
@ -21,7 +23,7 @@ You can run BTCPay as a self-hosted solution on your own server, or use a third-
The self-hosted solution allows you not only to attach an unlimited number of stores and use the Lightning Network but also become the payment processor for others.
If you previosly used BitPay's plugin, you can very easily migrate and use BTCPay.
If you previously used BitPay's plugin, you can very easily migrate and use BTCPay.
This plugin is a fork of https://github.com/bitpay/woocommerce-plugin which in turn is a fork of https://github.com/jaafit/bitpayWoocommerce. We have modified the plugin in order to support alternative bitpay compliant servers and enhance usability and functionality. This plugin should be able to run alongside the original bitpay plugin.
@ -120,6 +122,14 @@ You'll find extensive documentation and answers to many of your questions on [do
== Changelog ==
## 3.0.16
- Updating readme with legacy notice and link to new V2 version.
## 3.0.15
- Fix: the plugin should not restrain the available currencies @NicolasDorier
## 3.0.14
- Fix: the plugin would to work on some domains, due to a https error @ndeet