#bachir-react-elements
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. 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.
- bachir2921, 1 hour ago, 21 messages
- bachir2921, 1 hour ago, 5 messages
- bachir-paymentelement-customername, 4 hours ago, 6 messages
- bachir-ece-confirm, 6 hours ago, 21 messages
Hi there! Happy to pick this back up. Can you share your StripePaymentElement and StripeAddressElement components? What exactly are you changing when testing this?
bachir-react-elements
Those elements are just imports from the stripe library:
import {
PaymentElement as StripePaymentElement,
AddressElement as StripeAddressElement,
useElements,
} from "@stripe/react-stripe-js";
Hi!
I see my teammates weren't able to reproduce. It'll be fastest to debug if you share your full client side code or (as they suggested) share a link to a page where we can see this in action
Alright I'll setup something for tomorrow. Should I link this issue again when I have it ready ?
But just to be sure: the AddressElement shouldn't embed itself inside the PaymentElement ? The expected behaviour is that they appear separate ?
Hi, taking over as roadrunner_stripe has to step away.
Hey
After testing, that is correct the two Elements appear separately.
And this is the expected behaviour, right ?
From my test yes, however, I'm unsure what you're exactly testing so it would be helpful to have our code like my teammated said so we can confirm that our code is the same.
Indeed, i'll ready something for tomorrow and link back this issue
Do you know by any chance if this behaviour exists in Stripe independently from my issue? (where the address element is embedded in the payment element)
It seemed to surprise all your teammates, so I thought it should theoretically be impossible
Because it looks nice, and ultimately that's the behaviour I'd like my component to have 😄