-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathweb.php
More file actions
21 lines (17 loc) · 825 Bytes
/
web.php
File metadata and controls
21 lines (17 loc) · 825 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/
Route::get('/subscriptions/checkout/{session_id}', 'API\SubscriptionController@getCheckout');
Route::get('success', 'API\SubscriptionController@success_url');
Route::get('cancel', 'API\SubscriptionController@cancel_url');
Route::post('stripe/webhook','\App\Http\Controllers\WebhookController@handleWebhook');
Route::get('/home', 'HomeController@index')->name('home');
Route::get('/search', 'HomeController@search')->name('search');