#gonsanto_payment-element-not-rendering

1 messages ยท Page 1 of 1 (latest)

wary lakeBOT
#

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

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

tranquil cove
#

I'm seeing the following error on the console

#

but only on that specific merchant

median rune
#

Hi ๐Ÿ‘‹

How do I get to the Payment Element in the site you provided

tranquil cove
#

I have access to the sessionId merchantId etc if needed

#

we are using the documentation from stripe using

<PaymentElement
              onChange={handlePaymentElementChange}
            />
#

but this is working great on all other merchants

#

and they took payments until around one hour ago

#

when they started seeing no card form was rendered but before that I can see they took payments

median rune
#

Can you please answer my question?

tranquil cove
#

oh sorry, just pick wherever product you can find and when you go to the checkout page you will see

#

inside that Card section is where the card form should be visible

#

this is from another merchant using the same code

median rune
#

Can you share the account ID for this merchant?

#

I see what you mean but I don't get the errors in the console

tranquil cove
#

the account id is our parent acct_1NImucDWq8LmuqRd and the merchant_id is acct_1NImucDWq8LmuqRd we are using Stripe Connect

median rune
#

Is the site something you own/control or does it belong ot the merchant?

tranquil cove
#

we do not control it... but we are in constant talk to them... just wanted to know if there is something you can see because I checked everything and I can not find anything

median rune
#

I found the logs from when I try to load the element. I see we consider card, apple_pay, google_pay as valid payment method types.

tranquil cove
#

is that an issue? we do not set that anywhere on our side tbh

median rune
#

No that's not an issue. It's expected

#

We return a success response that should allow the element to initialize

#

Did you build this checkout site for this user? Or are they adding your code to it themselves?

tranquil cove
#

they add our plugin and done... but we never saw this case ever and tbh thats Stripe component who is not being shown but if there is nothing obvious i will talk to the merchant and see if they did something crazy there

median rune
#

I am wondering if they are trying to load it inside an <iframe> component

#

But looking at the errors you are seeing in the console, it looked like perhaps their firewall was blocking a required URL

#

We document all the IP addresses and domains that need to be allowed here

tranquil cove
#

yes i guess that could be the issue...

#

i will share this with them

#

thanks for checking on this quickly

#

thanks for checkint so fast

median rune
#

Absolutely! We want to get you unblocked as fast as we can. Since this is the only merchant where this is occurring I doubt it's anything to do with your code.

#

If they aren't blocking any domains/IPs, I recommend collecting both the user's code where they implement your plugin (so we can see how nested it is) as well as your basic plugin code so we can dig further.

tranquil cove
#

perfect will do... do i need to open another question or i can reply here? this could take a day or something like that

median rune
#

We close threads after roughly 1 hour of inactivity so you would want to open a new thread but you can reference this one as well.

tranquil cove
#

great thanks again