Skip to content
This repository has been archived by the owner on Feb 2, 2022. It is now read-only.

Commit

Permalink
Fix #117 temporary_mollie_payment_id
Browse files Browse the repository at this point in the history
  • Loading branch information
sandervanhooft committed Nov 28, 2019
1 parent 0a2fe58 commit 8222d41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Controllers/WebhookController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit 8222d41

Please sign in to comment.