mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Merge branch 'mattallan-issue/447-wcpay-subscriptions-compat' into trunk
This commit is contained in:
commit
6d48fc013c
2 changed files with 7 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
|||
* Fix - Multi-currency broke #481
|
||||
* Fix - Address information from PayPal shortcut flow not loaded #451
|
||||
* Fix - WooCommerce as mu-plugin is not detected as active #461
|
||||
* Fix - Check if PayPal Payments is an available gateway before displaying it on Product/Cart pages #447
|
||||
* Enhancement - Improve onboarding flow, allow no card processing #443 #508 #510
|
||||
* Enhancement - Add Germany to supported ACDC countries #459
|
||||
* Enhancement - Add filters to allow ACDC for countries #437
|
||||
|
|
|
@ -452,6 +452,12 @@ class SmartButton implements SmartButtonInterface {
|
|||
return;
|
||||
}
|
||||
|
||||
$available_gateways = WC()->payment_gateways->get_available_payment_gateways();
|
||||
|
||||
if ( ! isset( $available_gateways['ppcp-gateway'] ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
echo '<div id="ppc-button"></div>';
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue