You probably want to stick a ``showProgress()`` at the top of [callPaySuccess()](https://github.com/muffinresearch/webpay/blob/3a6561cfa18944a49164cc8497d9dff241e02e5b/media/js/pay/pay.js#L98) too. When callPaySuccess() completes it will close the window.