airwallex-payment-demo icon indicating copy to clipboard operation
airwallex-payment-demo copied to clipboard

'onChange' listener not working and 'onReady' was triggered even the dropIn iframe not shown on the screen.

Open ryazhang opened this issue 6 months ago • 2 comments

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 avatar Dec 27 '23 07:12 ryazhang

@ryazhang Hi, Dropin doesn't have onChange event.

shirly-chen-awx avatar Jan 30 '24 03:01 shirly-chen-awx

@ryazhang you may want to try "onSwitchMethod" listener

SamX23 avatar Apr 06 '24 14:04 SamX23