From 0c8b73bf32c026d6186a13fbbb6ef3c8d99c4e9a Mon Sep 17 00:00:00 2001 From: Theo Browne Date: Tue, 14 Jan 2025 16:02:02 -0800 Subject: [PATCH] Hard lock to one subscription --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f13c6b6..470bfbc 100644 --- a/README.md +++ b/README.md @@ -276,9 +276,15 @@ export type STRIPE_SUB_CACHE = Gonna slowly drop more things here as I remember them. -DISABLE "CASH APP PAY". I'm convinced this is literally just used by scammers. over 90% of my cancelled transactions are Cash App Pay. +### DISABLE "CASH APP PAY". + +I'm convinced this is literally just used by scammers. over 90% of my cancelled transactions are Cash App Pay. ![image](https://github.com/user-attachments/assets/c7271fa6-493c-4b1c-96cd-18904c2376ee) +### ENABLE "Limit customers to one subscription" + +This is a really useful hidden setting that has saved me a lot of headaches and race conditions. Fun fact: this is the ONLY way to prevent someone from being able to check out twice if they open up two checkout sessions 🙃 More info [in Stripe's docs here](https://docs.stripe.com/payments/checkout/limit-subscriptions) + ## Things that are still your problem While I have solved a lot of stuff here, in particular the "subscription" flows, there are a few things that are still your problem. Those include...