File: D:/HostingSpaces/SBogers10/zelfverkopen.komma.pro/app/KommaApp/Forms/formRoutes.php
<?php
// Here you need to define the process routes and success routes of the forms
// Contact
//Route::post('contact/process', 'Forms\ContactController@process')->name('contact.process');
Route::post('contact/process_new', 'Forms\ContactController@process');
Route::get('contact/succes', 'Forms\ContactController@success')->name('contact.success');
// Schedule conversation
Route::post('scheduleConversation/process', 'Forms\ScheduleConversationController@process')->name('scheduleConversation.process');
Route::get('informatiegesprek-inplannen/succes', 'Forms\ScheduleConversationController@success')->name('scheduleConversation.success');
// Start sales
Route::post('startSale/process', 'Forms\StartSaleController@process')->name('startSale.process');
Route::get('start-verkoop/succes', 'Forms\StartSaleController@success')->name('startSale.success');
// Start sales - Payment routes after icepay-link
Route::get('start-verkoop/betaling-ontvangen', 'Forms\StartSaleController@paymentReceived')->name('startSale.payment.success');
Route::get('start-verkoop/foutmelding-betaling', 'Forms\StartSaleController@paymentError')->name('startSale.payment.error');
Route::get('invoice-oude-website', 'Forms\StartSaleController@oldInvoice');
// Start buy
Route::post('buyHouse/process', 'Forms\BuyHouseController@process')->name('buyHouse.process');
Route::get('ik-wil-een-huis-aankopen/succes', 'Forms\BuyHouseController@success')->name('buyHouse.success');
// Start buy - Payment routes after icepay-link
//Route::get('ik-wil-een-huis-aankopen/betaling-ontvangen', 'Forms\BuyHouseController@paymentReceived')->name('buyHouse.payment.success');
//Route::get('ik-wil-een-huis-aankopen/foutmelding-betaling', 'Forms\BuyHouseController@paymentError')->name('buyHouse.payment.error');
// Property forms
Route::post('placeOrder/process', 'Forms\PropertyPlaceOrderController@process')->name('propertyPlaceOrder.process');
Route::get('woning-kopen/plaats-een-bod/succes', 'Forms\PropertyPlaceOrderController@success')->name('propertyPlaceOrder.success');
Route::post('planVisit/process', 'Forms\PropertyPlanVisitController@process')->name('propertyPlanVisit.process');
Route::get('woning-kopen/plan-een-bezichtiging/succes', 'Forms\PropertyPlanVisitController@success')->name('propertyPlanVisit.success');
Route::post('askQuestion/process', 'Forms\PropertyAskQuestionController@process')->name('propertyAskQuestion.process');
Route::get('woning-kopen/stel-een-vraag/succes', 'Forms\PropertyAskQuestionController@success')->name('propertyAskQuestion.success');