#mahesh_api

1 messages ยท Page 1 of 1 (latest)

hushed hearthBOT
#

๐Ÿ‘‹ 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.

strong wraithBOT
#

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.

marble berry
vernal raft
#

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

marble berry
#

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

vernal raft
#

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&currency=pln&stripe_js_id=eaab9b55-4bf3-4334-9271-4418d071e40e

marble berry
#

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?

vernal raft
#

yeah its mentioned about BLIK, i overlooked it ๐Ÿ™‚

marble berry
#

all good!