08-23-2022 08:51 PM
Hello, I am using marqeta.js how can I add onload callback to embedded pan iframe
08-25-2022 01:40 PM
callbackEvents
. This field can take two keys, one is onSuccess
(successful load of iframe) and the other onFailure
. Here is a link to our public docs."callbackEvents": { "onSuccess": () => { console.log("Success!"); }, "onFailure": error => { console.error(error); } }
Hope that helps!