When I change the source code of the mollie plugin (the preparePayment function) and try it without the try/catch. I then get this error:
Error executing API call (422: Unprocessable Entity): The webhook URL is invalid because it is unreachable from Mollie's point of view.. Field: webhookUrl. Documentation: https://docs.mollie.com/guides/handling-errors (View: /Users/kevinernst/Documents/GitHub/bagisto/packages/Webkul/Mollie/src/Resources/views/standard-redirect.blade.php)
However the Webkul/Mollie package has these routes:
Route::get('mollie/payment/webhook', 'Webkul\Mollie\Http\Controllers\
[email protected]')->name('mollie.payment.webhook');
Route::post('mollie/payment/webhook', 'Webkul\Mollie\Http\Controllers\
[email protected]')->name('mollie.payment.webhook');
So basically this happens because of local testing then?