From 70652a01af4673302c0e55911d3a3ecc6b4ea84a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=2E=20Nagy=20Gerg=C5=91?= Date: Thu, 26 Sep 2024 14:46:33 +0200 Subject: [PATCH] fix --- src/StripeDriver.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/StripeDriver.php b/src/StripeDriver.php index 9377f5b..0dab9f0 100644 --- a/src/StripeDriver.php +++ b/src/StripeDriver.php @@ -122,7 +122,7 @@ public function capture(Request $request, Order $order): Order */ public function resolveOrderForNotification(Request $request): Order { - return $this->resolveOrder($request->input('object.metadata.order')); + return $this->resolveOrder($request->input('data.object.metadata.order')); } /**