Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion content/docs/shopkeeper/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion content/docs/shopkeeper/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down