diff --git a/modules/ppcp-applepay/src/Assets/ApplePayDataObjectHttp.php b/modules/ppcp-applepay/src/Assets/ApplePayDataObjectHttp.php index 9b08ecd0b..dad4993d5 100644 --- a/modules/ppcp-applepay/src/Assets/ApplePayDataObjectHttp.php +++ b/modules/ppcp-applepay/src/Assets/ApplePayDataObjectHttp.php @@ -160,7 +160,7 @@ class ApplePayDataObjectHttp { * @return void */ public function validation_data(): void { - $data = filter_input( INPUT_POST, 'validation', FILTER_VALIDATE_BOOL ); + $data = filter_input( INPUT_POST, 'validation', FILTER_VALIDATE_BOOLEAN ); if ( ! $data ) { return; }