#hellodoc-paymentelement-error

1 messages · Page 1 of 1 (latest)

lone yokeBOT
strange light
#

Hi 👋

Can you provide more context about where you are seeing this?

open tendon
#

i am doing test for filling bank account information. when i try to input the bank account info (in the search input field) the error happens

strange light
#

How are you loading the Payment Element? Just within a <div> or are you loading it in an <iframe>?

open tendon
#

oh, i loaded in div: <Grid item xs={12}>
<Box flexGrow={1} p={1}>
<form id="payment-form" onSubmit={handleSubmit}>
<PaymentElement
id="payment-element"
options={paymentElementOptions}
/>
{/* Show any error or success messages */}
{/message && <div id="payment-message">{message}</div>/}
</form>
</Box>
</Grid>

strange light
#

Okay spinning up my dev environment

#

Hmmm... I'm not seeing that on my end. Plenty of warnings. Do you have a public URL for a staging site where I could look at this?

open tendon
#

oh, right now, it is in local dev. i will try to deploy to some public server and let you know then.

#

or if you realize some common reasons for such errors.

strange light
#

Wait, when did the red text show up? Did you click submit?