#arpit-gupta_code
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/1425049802579906590
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
👋 Hi there. Let me take a look!
When exactly are you calling the element update method? https://docs.stripe.com/js/elements_object/update_payment_element
once it is loaded and mounted, post that if there is any change in the email or contact fields in the form we are calling update function. sample code:
watch(
() => props.contact,
() => {
const options = prepareStripePaymentElementOptions()
console.log('options 2 -------------', options)
if (!stripeSDKElements.value) return createPaymentElement(options)
stripeSDKElements.value.update(options)
}
)
I don't currently see anything logged to the console when editing any of those fields
yes because consoles are disabled for production
on my local environment I'm able to see
here is the screenshot of the same
Thanks. Do you see the values pre-filled when just using defaultValues?
no they are not getting prefilled
As you can see the values are updated in options variable but not getting updated for iDeal payment method. First and Last name are still not set for ideal although I've updated the stripe payment element
with the updated values
Even for Sepa and Link payment method email fields are not getting populated / pre-filled
This needs a bit more investigation… if you don't mind, you'll receive a DM here on Discord and you can open a case there
Hello @golden hare, we have sent you a direct message, please check it at https://discord.com/channels/@me/1425054724343861268
- 🔗The message has instructions on how to open a direct support case with our Developer Support team, in order to help you more effectively.
okay
Great. Then please fill out the form there, and we'll be in touch