From ae218ff4166623e47a98554021e2d5ef491edfad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Munsch?= Date: Thu, 30 Mar 2023 11:15:48 +0200 Subject: [PATCH] InShopPaymentAdapter fix checkoutIsResponseIsValid verifiy signature as relative --- app/Lib/Payments/Adapters/InShopPaymentAdapter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Lib/Payments/Adapters/InShopPaymentAdapter.php b/app/Lib/Payments/Adapters/InShopPaymentAdapter.php index 93674bd..faee2b9 100644 --- a/app/Lib/Payments/Adapters/InShopPaymentAdapter.php +++ b/app/Lib/Payments/Adapters/InShopPaymentAdapter.php @@ -54,7 +54,7 @@ class InShopPaymentAdapter extends PaymentAdapter public function checkoutIsResponseIsValid(Customer $customer, Transaction $transaction): ?Transaction { // phpcs:enable - return request()->hasValidSignature() ? $transaction : null; + return request()->hasValidSignature(false) ? $transaction : null; } /**