[w3c/payment-request] window.PaymentRequest returns undefined randomly (#967)

Hello, 
I have implemented PaymentRequest api to receive payments via Apple Pay on safari browsers. I have realised that sometimes `window.PaymentRequest` returns undefined randomly. It is very hard to reproduce it randomly happens.  When i try to reproduce that on same browser (in different incognito windows) it returns correctly. Is there any reason for that? Or how can i fixed that issue? You can see the sample screenshots below.

Notes: 
- Both screenshots has been taken from **Safari Version 14.0.3 (16610.4.3.1.7)**
- It happens in different Safari versions too
- I dont have any extension in that browser

**SUCCESSFUL CASE**
![image](https://user-images.githubusercontent.com/25296714/135441857-202be8f6-3be0-414d-ae1e-63c3eabb843f.png)

**UNDEFINED CASE**
![image](https://user-images.githubusercontent.com/25296714/135441944-03cfec39-3bdf-4bb1-a2cd-8cd5b16fee7a.png)


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/payment-request/issues/967

Received on Thursday, 30 September 2021 10:55:19 UTC