I ran tests in two web browsers (Firefox and SeaMonkey) on the following example code provided by the Square SDK (in public/examples/afterpay.html file) to try the afterpay system:
It seems things work in Firefox because the Afterpay button appears and when I click it, a new window pops up asking me to register for an Afterpay account.
But when I tried the same procedure in the latest Seamonkey brower, the attach function (before the return statement) never returns.
Is there a way to ensure that all functions return anything and not stall because of a web browser or a web browser version?
I load the following javascript file from a page on my server to use your functions and to display the google pay logo (when I use that payment option). But with AfterPay, the only time the logo appears is when I use Firefox, but when I use SeaMonkey, the logo does not appear…