Is it possible to include “addEventListener” code to a custom URL running in Adalo?
For more context: I am integrating a small unknown 3rd party payment solution into my Adalo app. I have managed to integrate it so far using API’s.
Once a transaction is created in my app, the payment solution generates a unique URL. This URL directs the user to their unique checkout page. I am able to dynamically pass this unique URL to Adalo and open it in the Web View component. The page will then call parent.postMessage to relay the results of the transaction (i.e. successful, cancelled, failed etc.). This is where I need to include a listener to capture the status.