#geneff_api

1 messages ¡ Page 1 of 1 (latest)

neon hornetBOT
#

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

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

past urchin
#

hi there!

#

how are you accepting payments? Checkout Session, Payment Element, something else?

trim oar
#

Hi

#

payment element

past urchin
#

can you share a PaymentIntent ID (pi_xxx) where PIX didn't show up?

trim oar
#

of course pi_3QrbY6DT3PF89vvt14uGxsCm

past urchin
#

thanks, having a look

#

in the response from Stripe, I do see:

  payment_method_types: [
    "card",
    "boleto",
    "pix",
  ]

so PIX should work.

#

how are you using the Payment Element exactly? first you create the PaymentIntent, then use the client_secret of the PaymentIntent to mount the Payment Element?

trim oar
#

I tried two cases:

  1. as you described, I first create a payment intent and then use the client secret to mount the payment elements
  2. create payment intent only when form is submitted and use client secret in stripe.confirmPayment method

but none of them worked

#

I was already thinking, maybe PIX is not showing because of my location?

past urchin
#

I was already thinking, maybe PIX is not showing because of my location?
where are you based?

trim oar
#

i am in Ukraine

#

i tried to use VPN to change my location in USA , but it's also not working

past urchin
#

so it's expected if you don't see PIX.

neon hornetBOT
trim oar
#

Will a VPN with a Brazilian location help here so I can test it?

covert mason
#

Potentially