From 973fa3e92b8da3a127d6eefad43c4af378412778 Mon Sep 17 00:00:00 2001 From: Fatih Toprakkale Date: Sat, 28 Feb 2026 01:16:18 +0100 Subject: [PATCH 1/2] Fix typo in .as (nitpick) --- content/docs/shopkeeper/quickstart.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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). From 049daebe85d6e62d84048000be6f20764408c6c3 Mon Sep 17 00:00:00 2001 From: Fatih Toprakkale Date: Sat, 28 Feb 2026 01:17:25 +0100 Subject: [PATCH 2/2] Change model title from 'user' to 'subscription' Updated the model title in the installation documentation. --- content/docs/shopkeeper/installation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {