diff --git a/modules/ppcp-api-client/src/Endpoint/BillingAgreementsEndpoint.php b/modules/ppcp-api-client/src/Endpoint/BillingAgreementsEndpoint.php index 233c41fe2..fb6827e6e 100644 --- a/modules/ppcp-api-client/src/Endpoint/BillingAgreementsEndpoint.php +++ b/modules/ppcp-api-client/src/Endpoint/BillingAgreementsEndpoint.php @@ -121,7 +121,7 @@ class BillingAgreementsEndpoint { */ public function reference_transaction_enabled(): bool { try { - if ( get_transient( 'ppcp_reference_transaction_enabled' ) === true ) { + if ( get_transient( 'ppcp_reference_transaction_enabled' ) === '1' ) { return true; }