#abdhesh-rajput_api

1 messages ¡ Page 1 of 1 (latest)

trim deltaBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1224616610384576523

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

full plinthBOT
#

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

livid locust
#

This is expected. When the first invoice is $0, you should expand pending_setup_intent to get the Setup Intent client secret and mount the Payment Element using Setup Intent client secret

strong frigate
#

still element not opening req id : req_t20m8ZdsRoYKmx

Changes is this
return await stripe.subscriptions.create({
customer: customerId,
description: description,
items: items,
payment_behavior: payment_behavior,
payment_settings: payment_settings,
expand: ['pending_setup_intent'],
trial_end : currentDate
});

livid locust
#

Did you return pending_setup_intent.client_secret to the client for Payment Element to render?

strong frigate
#

just need to one thing before i am using paymentIntent now according to changes i need to use setup_intent. so do i need to replace paymentIntent wirh setupIntent in my project ???

livid locust
strong frigate
#

okay Thanks @livid locust