#sai_rez

1 messages · Page 1 of 1 (latest)

unborn grottoBOT
deep idol
#

Hi 👋 I'm not the most familiar with React, so pardon me if i mix up some terms, but are you asking if you can add an ID to the element that is surfaced in the DOM or am I misunderstanding what you're hoping to accomplish?

#

Also, is this a new integration that you're building? If so, I would recommend looking into leveraging our Payment Element rather than our Card Element(s).

desert mirage
#

Our QA team is hoping to add a data-test-id attribute to the iframe generated by CardNumberElement to run Cypress tests.

#

No this is not a new integration unfortunately, we have yet to upgrade to PaymentElements

deep idol
#

No, you cannot inset anything into or edit properties of the iframes that we generate.

desert mirage
#

I see, okay no problem, thanks for clarifying

deep idol
#

Any time!

unborn grottoBOT