diff --git a/src/Http/Controllers/WebhookController.php b/src/Http/Controllers/WebhookController.php index 33d56ae5..92e36b25 100644 --- a/src/Http/Controllers/WebhookController.php +++ b/src/Http/Controllers/WebhookController.php @@ -49,7 +49,7 @@ protected function getOrder(Payment $payment) if(!$order) { if(isset($payment->metadata, $payment->metadata->temporary_mollie_payment_id)) { - $uuid = 'temp_' . $payment->metadata->temporary_payment_id; + $uuid = 'temp_' . $payment->metadata->temporary_mollie_payment_id; $order = Order::findByPaymentId($uuid); } }