mirror of
https://github.com/ahmadk953/tasko.git
synced 2025-01-31 00:53:37 +00:00
Aditional Stripe Things
This commit is contained in:
parent
ac5d35a561
commit
ad5f4204d4
2 changed files with 2 additions and 1 deletions
|
@ -37,7 +37,7 @@ const handler = async (data: InputType): Promise<ReturnType> => {
|
||||||
const stripeSession = await stripe.checkout.sessions.create({
|
const stripeSession = await stripe.checkout.sessions.create({
|
||||||
success_url: settingsUrl,
|
success_url: settingsUrl,
|
||||||
cancel_url: settingsUrl,
|
cancel_url: settingsUrl,
|
||||||
payment_method_types: ['card', 'paypal'],
|
// payment_method_types: ['card', 'paypal'],
|
||||||
mode: 'subscription',
|
mode: 'subscription',
|
||||||
billing_address_collection: 'auto',
|
billing_address_collection: 'auto',
|
||||||
customer_email: user.emailAddresses[0].emailAddress,
|
customer_email: user.emailAddresses[0].emailAddress,
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue