#wilson-tavares_docs

1 messages ¡ Page 1 of 1 (latest)

nocturne fulcrumBOT
#

👋 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/1387200447994925232

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

long zodiac
#

Hi there

spring dust
#

Hello...

long zodiac
#

Can you share the ID of a Checkout Session where you're using Meses sin intereses?

spring dust
#

Where can I get this ID? Is it on Stripe dashboard by going into the transaction details?

#

I think I found it here, this is an example > cs_live_a1o34B11dTugdhmXaxl4ZhSukKL69rouUh7dIrn7LqYysgoRtGxjUswb4O

long zodiac
#

That's perfect, thank you

spring dust
#

I don't know if this is correct, but I got the ID from the transaction event logs

long zodiac
#

You mentioned you tried to send a request to create a PaymentIntent but received an error. I don't see the failed request in the logs. Do you happen to have a request ID for that failed request?

spring dust
#

No, I don't believe I have any recent ID to give you in this scenario

#

Is there this option I asked about at checkout as well?

long zodiac
#

Got it, okay. Back to your original question about whether it's possible to "pre-select" a payment plan within a Checkout Session. No, this isn't possible.

spring dust
#

Ah, so this is the information I needed

long zodiac
#

This is a guess since I don't know the exact details of your PaymenIntent creation request but I suspect that payment_method_options.card.installments.plan was passed on creation. This can only be passed on PaymentIntent confirmation / after a customer has selected a plan

#

Taking a step back, updating your integration from using Checkout to using PaymentIntents is not a light lift.

spring dust
#

Understood, but this point of creating the PaymentIntent is after the checkout session has already been created, correct?

#

Yes, it's true... I believe that upgrading to use just PaymentIntents won't be easy

long zodiac
spring dust
#

Oh, yes... It's true, I'm the one who made a mess here

#

So, just to triple confirm your explanation, if we are going to use PaymenIntent directly, the information must be sent upon confirmation and not upon creation

long zodiac
#

Correct!

spring dust
#

Are there any plans to release this "pre-select" option at checkout within your roadmap or is this not even mapped out?

long zodiac
#

I don't think it's on the roadmap right now but I can share your feedback. Have you considered changing the reservation flow to have customers select "pay in installments" instead and let this dictate whether you enable installments for the Checkout Session?

#

This would still require the customer to select a plan in the Checkout Session. I primarily want to understand the motivation for having the plan selection on the reservation page as opposed to within the Checkout Session only