Skip to content

Commit 0638b00

Browse files
authored
Fix invalid route declarations (#9677)
- Fixed invalid view route declarations in quickstart-selling-products section
1 parent b4ad319 commit 0638b00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

billing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,8 +266,8 @@ To charge customers for non-recurring, single-charge products, we'll utilize Cas
266266
]);
267267
})->name('checkout');
268268

269-
Route::view('checkout.success')->name('checkout-success');
270-
Route::view('checkout.cancel')->name('checkout-cancel');
269+
Route::view('/checkout/success', 'checkout.success')->name('checkout-success');
270+
Route::view('/checkout/cancel', 'checkout.cancel')->name('checkout-cancel');
271271

272272
As you can see in the example above, we will utilize Cashier's provided `checkout` method to redirect the customer to Stripe Checkout for a given "price identifier". When using Stripe, "prices" refer to [defined prices for specific products](https://stripe.com/docs/products-prices/how-products-and-prices-work).
273273

0 commit comments

Comments
 (0)