bug fix + use id instead of username for lookup
This commit is contained in:
@@ -4,7 +4,6 @@ import checkSubscription from "./checkSubscription";
|
||||
export default async function paymentCheckout(
|
||||
stripeSecretKey: string,
|
||||
email: string,
|
||||
action: "register" | "login",
|
||||
priceId: string
|
||||
) {
|
||||
const stripe = new Stripe(stripeSecretKey, {
|
||||
|
||||
Reference in New Issue
Block a user