-
Notifications
You must be signed in to change notification settings - Fork 2
Stripe Product Setup
Benson Cho edited this page Jun 26, 2024
·
3 revisions
This page should reflect the keys/values in the file server\src\business-layer\utils\StripeProductMetadata.ts
.
Key | Description | Possible Values |
---|---|---|
membership_type |
Used when creating products in stripe for memberships |
uoa_returning or uoa_new or other_returning or other_new
|
lodge_pricing_type |
Whether or not to charge the user $40 or $60 based for a booking - only single fridays or saturday nights cost $60 |
normal or single_friday_or_saturday
|
Key | Description | Possible Values |
---|---|---|
checkout_type |
Used when creating a checkout session with createCheckoutSession in server\src\business-layer\services\StripeService.ts . |
booking or membership
|
booking_slot |
Serialized array of booking_slot ids, for retrieval on webhook |
e.g ["ef40TsK5emACG5K08j2n", "Zx0hVyCax6YhTl9PRcTq"]
|
start_date |
a date string that indicates the first date (inclusive) for the booking session | 27/04/2021 |
end_date |
a date string that indicates the last date (inclusive) for the booking session | 27/04/2021 |
After clicking the Add Product
button in the Product Catalog
of the Stripe dashboard,
Fill in the appropriate key with one of the given values from the above table (take care to note not all keys are to be used for product creation).