airwallex-payment-demo
airwallex-payment-demo copied to clipboard
'onChange' listener not working and 'onReady' was triggered even the dropIn iframe not shown on the screen.
I am using vue to integrated dropIn element, while im trying to add listeners, I found that only 'onReady', 'onError', 'onSuccess' works fine. Nothing happened when im trying 'onChange' if i'd like to know if user type in any information via card method of dropIn element. Btw, after init the dropIn element, onReady method told me the mount is finished and rendered, but I found that onReady will show me a positive response even the dropIn iframe not shown on the screen. Please advice, thanks in advance.
This question is related to:
-
language
- [ ] vue
-
element
- [ ] dropIn element
@ryazhang Hi, Dropin doesn't have onChange
event.
@ryazhang you may want to try "onSwitchMethod" listener