#mahesh_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/1232041939080187975
๐ 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.
- mahesh_code, 7 hours ago, 24 messages
BLIK is supported on Payment Element, see by selecting Poland in the country selector here: https://docs.stripe.com/payments/accept-a-payment?platform=web&ui=elements
But when use React Stripe library, Blik is not showing up, but other supported payments are showing up (eg., p24)
used this snippet
stripe={stripePromise}
options={{
mode: 'payment',
amount: 10000,
currency: 'pln',
locale: 'en_us',
paymentMethodTypes: ['p24', 'blik', 'card'],
}}
></Elements>;
But it loading only card & p24 on payment element UI
can you share an example of a PaymentIntent where you expected to see BLIK in Payment Element but it doesn't show it?
I ask because there may be some reasons Payment Element does not support it for e.g. certain integration patterns or params
yep that code looks fine at first glance, I can investigate the PaymentIntent (pi_123 ID) and see
but we are not creating payment intent on load, we are creating it after user selected the payment method
https://api.stripe.com/v1/elements/sessions?key=pk_test_51P8L5UHvKu26EztXzuGXOzKosC9mSWYmhXruymLoOEUpH37NcdmBQsSP0KeQPDMobNX0apJFkpG4QPCESz4y1GTl00vaBiSCca&type=deferred_intent&locale=en_us&deferred_intent[mode]=payment&deferred_intent[amount]=10000&deferred_intent[currency]=pln&deferred_intent[payment_method_types][0]=p24&deferred_intent[payment_method_types][1]=blik&deferred_intent[payment_method_types][2]=card&referrer_host=universal.webshop¤cy=pln&stripe_js_id=eaab9b55-4bf3-4334-9271-4418d071e40e
ah I see, yeah I think BLIK does not support this integration path that you're integrating.
Can you share the doc link for the integration guide you are following, so I can confirm?
i think this one: https://stripe.com/docs/payments/accept-a-payment-deferred?platform=web
yeah its mentioned about BLIK, i overlooked it ๐
all good!