mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Merge pull request #1646 from woocommerce/PCP-1870-billing-agreements-endpoint-called-too-frequently-for-reference-transactions-check
Billing agreements endpoint called too frequently for Reference Transactions check (1870)
This commit is contained in:
commit
bd974a7922
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ class BillingAgreementsEndpoint {
|
|||
*/
|
||||
public function reference_transaction_enabled(): bool {
|
||||
try {
|
||||
if ( get_transient( 'ppcp_reference_transaction_enabled' ) === true ) {
|
||||
if ( wc_string_to_bool( get_transient( 'ppcp_reference_transaction_enabled' ) ) === true ) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue