diff --git a/content/docs/shopkeeper/installation.md b/content/docs/shopkeeper/installation.md index 5c29d03..1aaf93f 100644 --- a/content/docs/shopkeeper/installation.md +++ b/content/docs/shopkeeper/installation.md @@ -129,7 +129,7 @@ For this feature to work properly, your customer's billing details, such as the You are free to extend the models used internally by Shopkeeper by defining your own model and extending the corresponding Shopkeeper model: ```ts -// title: app/models/user.ts +// title: app/models/subscription.ts import { Subscription as ShopkeeperSubscription } from '@foadonis/shopkeeper/models' export default class Subscription extends ShopkeeperSubscription { diff --git a/content/docs/shopkeeper/quickstart.md b/content/docs/shopkeeper/quickstart.md index 4f15c8e..e925166 100644 --- a/content/docs/shopkeeper/quickstart.md +++ b/content/docs/shopkeeper/quickstart.md @@ -34,7 +34,7 @@ router.get('/checkout', async ({ auth, response }) => { }) router.on('/checkout/success').render('checkout/success').as('checkout-success') -router.on('/checkout/cancel').render('checkout/cancel').as('checkout-ssuccessuccess') +router.on('/checkout/cancel').render('checkout/cancel').as('checkout-cancel') ``` As you can see in the example above, we will utilize Shopkeeper'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).