oh, I see you're already checking for it but in another place. It might be nicer to polyfill ``paymentFailed`` into ``utils.mozPaymentProvider.paymentFailed`` so that all calling code can access it via the latter