Skip to content

Stripe Product Setup

Benson Cho edited this page Apr 23, 2024 · 3 revisions

Overview

This page should reflect the keys/values in the file server\src\business-layer\utils\StripeProductMetadata.ts.

Keys

Key Description Possible Values
checkout_type Used when creating a checkout session with createCheckoutSession in server\src\business-layer\services\StripeService.ts. NOT NEEDED WHEN SETTING UP PRODUCTS IN STRIPE booking or membership
membership_type Used when creating products in stripe for memberships uoa_returning or uoa_new or other_returning or other_new

How to set up metadata in stripe

After clicking the Add Product button in the Product Catalog of the Stripe dashboard,

image

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).

Clone this wiki locally