globalpayments / rxp-js

Global Payments Ecommerce JavaScript Library
MIT License
34 stars 70 forks source link

Argument 1 of Node.appendChild is not an object. #30

Open lol768 opened 4 years ago

lol768 commented 4 years ago

Look:

https://github.com/globalpayments/rxp-js/blob/4fd6948bf039ff62e6de5317f595ae49f0e90fda/dist/rxp-js.js#L221-L229

Hmm, when can closeButton be undefined?

https://github.com/globalpayments/rxp-js/blob/4fd6948bf039ff62e6de5317f595ae49f0e90fda/dist/rxp-js.js#L100-L103

Maybe every single time after the initial load when the iframe navigates to a URL? Which .. happens every single time the user is 3DS-challenged?

Come on, did you even test this code?