You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding a fetch cooldown to PM config retrieval endpoint calls (#4330)
* Adding a fetch cooldown to PM config retrieval endpoint calls
* Changelog and readme entries
* Moving up the setting of the option value
* Fallback to cards when config is not available
* Improving the minimal card config
* Use legacy settings as fallback
* Fix tests
* Implement a fallback cache using wp options
* Use 'or' in cache logic
* Update docblock to reflect new param
* Modify logic to only use fallbacks when hitting API too much
* Remove minimal config fallback
* Add comment about fallthrough to fetching data
Co-authored-by: daledupreez <dale.du.preez@automattic.com>
* Update test flag logic and naming
Co-authored-by: daledupreez <dale.du.preez@automattic.com>
* Fix linting issues
* Moving the transient key to a new constant
* Renaming transient to option
* Renaming transient to option
* Better fix for unit tests
* Removing unnecessary hook in unit tests
* Adding log to identify merchants not connected to our platform account
* Reverting the new log
---------
Co-authored-by: Anne Mirasol <anne.mirasol@automattic.com>
Co-authored-by: daledupreez <dale.du.preez@automattic.com>
Co-authored-by: Malith Senaweera <6216000+malithsen@users.noreply.github.com>
// When connecting to the WooCommerce Platform account a new payment method configuration is created for the merchant.
125
153
// This new payment method configuration has the WooCommerce Platform payment method configuration as parent, and inherits it's default payment methods.
0 commit comments