airwallex / airwallex-payment-demo

Airwallex payment element integration demo
39 stars 24 forks source link

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

Open ryazhang opened 10 months ago

ryazhang commented 10 months ago

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:

shirly-chen-awx commented 8 months ago

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

SamX23 commented 6 months ago

@ryazhang you may want to try "onSwitchMethod" listener