Aditional Stripe Things

This commit is contained in:
Ahmad 2024-03-28 20:24:00 -04:00
parent ac5d35a561
commit ad5f4204d4
No known key found for this signature in database
GPG key ID: 8FD8A93530D182BF
2 changed files with 2 additions and 1 deletions

View file

@ -37,7 +37,7 @@ const handler = async (data: InputType): Promise<ReturnType> => {
const stripeSession = await stripe.checkout.sessions.create({
success_url: settingsUrl,
cancel_url: settingsUrl,
payment_method_types: ['card', 'paypal'],
// payment_method_types: ['card', 'paypal'],
mode: 'subscription',
billing_address_collection: 'auto',
customer_email: user.emailAddresses[0].emailAddress,