#op84
1 messages · Page 1 of 1 (latest)
Hi 👋
Stripe elements do not permit manipulation by tools like Selenium for security reasons
is this a new thing? i did that for card element
It's been the case since I joined Stripe but it may be specific to the Payment Element & Checkout form
how would i test the integration then?
We do have recommendations for mocking the JS errors returned.
https://stripe.com/docs/automated-testing#client-side-testing
Manually
And then mock responses for CI testing
alright thanks i will look into that. i have another question.. the company which i'm working for has an eu company based in germany and an extra swiss and us company.. do i create 3 separate stripe account?
That is the recommended approach in general but it depends on how these companies are going to interact with respect to Stripe.
What kind of interaction do you expect between the companies in terms of accepting payments?
between companies none.. the stripe part is pretty basic - we just use setup & paymentintents and webhooks.. this can all be separate
Okay yes, in that case I would definitely create separate Stripe accounts for each company in each country.
ok cool thanks. do you have any other resources for CI and automated testing by chance?
Well...not really....we have this mocking service but it's pretty out of date now (things change fast here): https://github.com/stripe/stripe-mock
ok thanks for help!