[x] Does your code follow the Extendables standards?
[ ] Have you written new tests for your changes, as applicable?
[x] Have you successfully run tests with your changes locally?
Changes proposed in this Pull Request:
Setting the $is_available to true when is_checkout_pay_page() was true was a bug. The $is_available variable should only be altered to false without checking prior rules.
Also introduces the is_available method for all the available button placements.
Other information:
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
Changelog entry
Fix - is_available method would return true even when region would not support currency.
Fix - Passes all the button placement through the is_available gateway method.
All Submissions:
Changes proposed in this Pull Request:
Setting the $is_available to true when is_checkout_pay_page() was true was a bug. The $is_available variable should only be altered to false without checking prior rules.
Also introduces the is_available method for all the available button placements.
Other information:
Changelog entry