Hi all,
I’m a developer building a custom theme and I’m adding in a “map” section using google maps with a user provided API key. I’m getting an error related to “this.googlePaySDK.payments” line inside the “payment-sheet” asset from shopify itself.
It seems to break the dynamic add to cart buttons throughout the site. I thought it was related to me using the new google maps importLibrary but I get this error when I’m using the legacy script tag as well.
The code in question is located in theme.liquid:
{% if settings.google_maps_api_key != blank %}
{% endif %}
It is copied directly from Google documentation. Has anyone run into this before?
And before suggested: no, I do not want to use an iframe.
