-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable the Payment Request feature by default for new merchants only (#…
…1404) * Do not display error notice when account is not live, even if cached setting has `'apple_pay_domain_set' => 'no'` * Remove redundant check now that the notice is only visible from WCPay settings * Remove gateway from Apple Pay registration class * Enable by default for new merchants and refactor default settings * Refactor leftover code and change hook initialization * Remove redundant getters since default values are always set in the array * Add return before Apple Pay hooks if feature is disabled * Remove now unnecessary is_enabled checks * Remove default settings function and replace gateway_settings with get_option * Restore is_enabled checks
- Loading branch information
Showing
5 changed files
with
103 additions
and
193 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.