TypeError when trying to create PaymentRequest with Apple Pay We’re trying to enable Apple Pay on the Web for a web application of ours.