Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PFWA-31 : AE Updater #1292

Merged
merged 7 commits into from Mar 18, 2019

add updater code, PFWA-31

  • Loading branch information...
kcppdevelopers committed Feb 28, 2019
commit 19fc294df183d6beb7cc6073d2c8e7ca65984665
@@ -4,7 +4,7 @@
* Plugin Name: PayPal for WooCommerce
* Plugin URI: http://www.angelleye.com/product/paypal-for-woocommerce-plugin/
* Description: Easily enable PayPal Express Checkout, PayPal Pro, PayPal Advanced, PayPal REST, and PayPal Braintree. Each option is available separately so you can enable them individually.
* Version: 1.5.7
* Version: 1.5.6
* Author: Angell EYE
* Author URI: http://www.angelleye.com/
* License: GNU General Public License v3.0
@@ -152,7 +152,8 @@ public function __construct()
add_action('woocommerce_product_data_panels', array( $this, 'angelleye_paypal_for_woo_product_date_panels' ));
add_action('woocommerce_process_product_meta', array( $this, 'angelleye_paypal_for_woo_product_process_product_meta' ));
add_action('angelleye_paypal_for_woocommerce_multi_account_api_paypal_payflow', array( $this, 'angelleye_paypal_for_woo_product_level_payment_action' ), 10, 3);
add_action( 'wp_head', array( $this, 'paypal_for_woo_head_mark' ), 1 );
add_action( 'wp_head', array( $this, 'paypal_for_woo_head_mark' ), 1 );
add_filter('angelleye_updater_free_plugin', array($this, 'angelleye_add_plugin_updater_plugin'), 10, 1);
$this->customer_id;
}
@@ -1230,6 +1231,16 @@ public function angelleye_paypal_for_woo_product_level_payment_action($gateways,
}
}
}
public function angelleye_add_plugin_updater_plugin($response) {
if(!empty($response)) {
$response[PAYPAL_FOR_WOOCOMMERCE_BASENAME] = array('file_id' => '999', 'product_id' => 'paypal-woocommerce');
} else {
$response = array();
$response[PAYPAL_FOR_WOOCOMMERCE_BASENAME] = array('file_id' => '999', 'product_id' => 'paypal-woocommerce');
}
return $response;
}
}
}
new AngellEYE_Gateway_Paypal();
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
Tags: woocommerce, paypal, express checkout, payments pro, angelleye, payflow, dodirectpayment, apple pay, google play, braintree, payments advanced, rest, credit cards, credit card payments, payments, payment
Requires at least: 3.8
Tested up to: 5.0.3
Stable tag: 1.5.7
Stable tag: 1.5.6
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html

ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.