@@ -305,7 +305,7 @@ You can set a [promotion code](https://stripe.com/docs/billing/subscriptions/dis
305
305
306
306
``` js
307
307
const docRef = await db
308
- .collection (" customers " )
308
+ .collection (' ${param:CUSTOMERS_COLLECTION} ' )
309
309
.doc (currentUser .uid )
310
310
.collection (" checkout_sessions" )
311
311
.add ({
@@ -326,7 +326,7 @@ Stripe Tax lets you calculate and collect sales tax, VAT, and GST. Know where to
326
326
327
327
``` js
328
328
const docRef = await db
329
- .collection (" customers " )
329
+ .collection (' ${param:CUSTOMERS_COLLECTION} ' )
330
330
.doc (currentUser .uid )
331
331
.collection (" checkout_sessions" )
332
332
.add ({
@@ -344,7 +344,7 @@ Stripe Checkout supports applying the correct tax rate for customers in US, GB,
344
344
345
345
``` js
346
346
const docRef = await db
347
- .collection (" customers " )
347
+ .collection (' ${param:CUSTOMERS_COLLECTION} ' )
348
348
.doc (currentUser)
349
349
.collection (" checkout_sessions" )
350
350
.add ({
@@ -385,7 +385,7 @@ Secondly, you need to add `collect_shipping_address: true` to the Checkout Sessi
385
385
386
386
``` js
387
387
const docRef = await db
388
- .collection (" customers " )
388
+ .collection (' ${param:CUSTOMERS_COLLECTION} ' )
389
389
.doc (currentUser .uid )
390
390
.collection (" checkout_sessions" )
391
391
.add ({
@@ -421,7 +421,7 @@ In addition to recurring prices, you can add one-time prices. These will only be
421
421
422
422
``` js
423
423
const docRef = await db
424
- .collection (' customers ' )
424
+ .collection (' ${param:CUSTOMERS_COLLECTION} ' )
425
425
.doc (currentUser)
426
426
.collection (' checkout_sessions' )
427
427
.add ({
0 commit comments