The argument for having an array instead is that you might have nested iframes, e.g. PSPs. Then Payment Apps might be interested of matching on the "container" iframe rather then the one initiating the Payment Request. This would be hard to cater for if we specify `origin` and `iframeOrigin` without breaking the API. I do not see this as a must but I think it is more future proof and we give the Payment App as much context as possible
--
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/webpayments-payment-apps-api/issues/120#issuecomment-290014926