When you listen to the ExpressCheckoutElement's click event you need to call the resolve() or the reject() function that you got from the handler event within 1sec max. You need to remove any complex code you have that may delay the call of one of these functions within the 1 sec window.