connect.squareup.com

This is where you should report issues arising from the subscription filters.
Locked
jafd
New Member
New Member
Posts: 2
Joined: Mon Dec 23, 2019 11:34 am

connect.squareup.com

Post by jafd »

Since some time, some payment routines in Square Payment Form are writing into an iFrame which is at https://connect.squareup.com/payments/analytics/frame.html (or https://connect.squareupsandbox.com/payments/analytics/frame.html if you are a developer). This iFrame is blocked by a rule in the EasyPrivacy list which blocks everything containing "/analytics/frame.". The result is this error which, since it doesn't even happen in applications' contexts, cannot be handled or worked around:

Code: Select all

analytics.js:1 Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://connect.squareup.com') does not match the recipient window's origin ('null')
Can those two URIs be whitelisted?
User avatar
LanikSJ Verified
Site Owner
Site Owner
Posts: 1808
Joined: Thu Feb 15, 2007 7:44 am
Location: /dev/null

Post by LanikSJ Verified »

Please provide a test URL where this can be reproduced.
"If it ain't broke don't fix it."
jafd
New Member
New Member
Posts: 2
Joined: Mon Dec 23, 2019 11:34 am

Post by jafd »

The links that I'm aware and care about are semi-private (I mean, our users might not be happy that I'm making some of their payment forms googleable, we don't do it). Do you mind if I PM them to you?
User avatar
LanikSJ Verified
Site Owner
Site Owner
Posts: 1808
Joined: Thu Feb 15, 2007 7:44 am
Location: /dev/null

Post by LanikSJ Verified »

In that case I would send them to one of the EasyList authors or

Code: Select all

easylist.subscription @ gmail.com
"If it ain't broke don't fix it."
mxb
New Member
New Member
Posts: 1
Joined: Thu Dec 26, 2019 6:15 pm

Post by mxb »

You can reproduce this by going through the purchase flow for a Square Reader. When you get to the payment form, you will see this error in the developer console which is a result from the frame being blocked:
Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://connect.squareup.com') does not match the recipient window's origin ('null').
Locked