#bachir-react-elements

1 messages · Page 1 of 1 (latest)

nova drumBOT
#

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.

ripe relic
#

Hi there! Happy to pick this back up. Can you share your StripePaymentElement and StripeAddressElement components? What exactly are you changing when testing this?

nova drumBOT
#

bachir-react-elements

native sleet
#

Those elements are just imports from the stripe library:

import {
  PaymentElement as StripePaymentElement,
  AddressElement as StripeAddressElement,
  useElements,
} from "@stripe/react-stripe-js";
#

Hi!

ripe relic
#

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

native sleet
#

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 ?

nova drumBOT
crimson epoch
#

Hi, taking over as roadrunner_stripe has to step away.

native sleet
#

Hey

crimson epoch
#

After testing, that is correct the two Elements appear separately.

native sleet
#

And this is the expected behaviour, right ?

crimson epoch
#

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.

native sleet
#

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 😄

crimson epoch
#

If a specific payment method requires a billing address, it would look something like that.

#

Once we have your code, we should be able to further look into this with you