#0xfiro_api
1 messages ¡ Page 1 of 1 (latest)
đ 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/1215662405779062854
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
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.
- 0xfiro_api, 3 days ago, 33 messages
- 0xfiro_api, 3 days ago, 50 messages
- 0xfiro_api, 4 days ago, 62 messages
- 0xfiro_api, 4 days ago, 41 messages
Yeah that's not something klarna as a payment method supports: https://docs.stripe.com/payments/payment-methods/integration-options#additional-api-buy-now-pay-later
I see, we have a workaround for it but need to know something ... we are using payment elements on oour checkout page and on anohter page ... but in checkout we need to show all PM and on other page only klarna and paypal ... is this possible with payment element by stripe ?
I have seen this
so seems to be possible ?
Yeah so are you creating the payment intent ahead of time for the page where you render the payment element?
We are creating a payment intent after user selects the payment method
Ah so you are using this deferred intent flow then? https://docs.stripe.com/payments/accept-a-payment-deferred
Not sure if I understand it correclty. Usually customer selects a pm , then we authorize the pm and capture it later within 7 days once we approve the order
I'm referring to the payment intent
The flow most people use is they create a payment intent ahead of time and use its client secret to render the payment element
Some people use the above flow where you do not initialize elements with a client secret
And payment intent is created after collecting payment method
Just need you to confirm which flow because my answer to your question is different for each flow
let me ask my dev and will get shortly back to you
yeah we are doing the first option you mentioend
This one?
yes
In that case, the payment element shows payment method types based on what is set here on the payment intent: https://docs.stripe.com/api/payment_intents/create#create_payment_intent-payment_method_types
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.