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
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@ This Miro app demonstrates using [flat rate](https://www.salable.app/features/fl
1. [Sign up](https://salable.app/login) for Salable or [login](https://salable.app/login) if you already have an account.
2. Ensure you have `Test Mode` enabled.

#### Create Product
#### Setup Product

1. Go to the Products page and click the `Create Product` button.
2. Give your product any name.
3. Tick the `Paid Product` checkbox.
4. Select the test payment integration that is created for you on sign up. If you already have created a payment integration this can be used instead.
5. Select `GBP` as your currency.
1. Go to the Products page in the Salable dashboard and click the `Import product` button.
2. Navigate to this demo project in the file system on your machine. Select `salable-product.yaml` in the root of the project and import it.
3. As this is a paid product, you'll need to select a payment integration.
4. Click `Import file`.

#### Create Plan

Expand Down
86 changes: 86 additions & 0 deletions salable-product.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
version: s1-1.0.0
product:
displayName: Miro flat rate product
description: ''
paid: true
features:
- displayName: circle
variableName: circle
description: ''
visibility: private
valueType: boolean
defaultValue: 'true'
showUnlimited: false
sortOrder: 0
- displayName: triangle
variableName: triangle
description: ''
visibility: private
valueType: boolean
defaultValue: 'true'
showUnlimited: false
sortOrder: 1
currencies:
- shortName: USD
defaultCurrency: true
plans:
- displayName: Basic
description: ''
visibility: public
pricingType: paid
licenseType: licensed
evalDays: 0
interval: month
length: 1
perSeatAmount: 1
maxSeatAmount: -1
features:
- variableName: circle
value: 'true'
isUnlimited: false
- variableName: triangle
value: 'true'
isUnlimited: false
currencies:
- shortName: USD
price: 100
- displayName: Board
description: ''
visibility: public
pricingType: paid
licenseType: licensed
evalDays: 0
interval: month
length: 1
perSeatAmount: 1
maxSeatAmount: -1
features:
- variableName: circle
value: 'true'
isUnlimited: false
- variableName: triangle
value: 'true'
isUnlimited: false
currencies:
- shortName: USD
price: 500
- displayName: Pro
description: ''
visibility: public
pricingType: paid
licenseType: licensed
evalDays: 0
interval: month
length: 1
perSeatAmount: 1
maxSeatAmount: -1
features:
- variableName: circle
value: 'true'
isUnlimited: false
- variableName: triangle
value: 'true'
isUnlimited: false
currencies:
- shortName: USD
price: 200