#acaiafa

1 messages · Page 1 of 1 (latest)

little beaconBOT
foggy spindle
marsh lance
#

criei a tabela e coloquei na minha pagina o html:

<html>
<head>
<title>Login</title>
</head>
<body>
<h1>Tabela de Preços</h1>
<script async src="https://js.stripe.com/v3/pricing-table.js"></script>
<stripe-pricing-table
pricing-table-id="......"
publishable-key="......">
</stripe-pricing-table>
</body>
</html>

error: Failed to execute 'postMessage' on 'Window': Invalid target origin 'null' in a call to 'postMessage'.

foggy spindle
#

Hello, unfortunately we can only provide English support in this channel. Feel free to switch to English, or contact support at https://support.stripe.com/contact if you need help in another language

marsh lance
#

I created the table and put the html on my page:
<html>
<head>
<title>Login</title>
</head>
<body>
<h1>Tabela de Preços</h1>
<script async src="https://js.stripe.com/v3/pricing-table.js"></script>
<stripe-pricing-table
pricing-table-id="......"
publishable-key="......">
</stripe-pricing-table>
</body>
</html>

error: Failed to execute 'postMessage' on 'Window': Invalid target origin 'null' in a call to 'postMessage'.

foggy spindle
#

Where is that error coming from? What is throwing it?

#

Do you have an example of your page?

marsh lance
#

when loading the html page in console

#

example:
<html>
<head>
<title>Login</title>
</head>
<body>
<h1>Tabela de Preços</h1>
<script async src="https://js.stripe.com/v3/pricing-table.js"></script>
<stripe-pricing-table
pricing-table-id="......"
publishable-key="......">
</stripe-pricing-table>
</body>
</html>

foggy spindle
#

The HTML code doesn't help here

#

can you please link to the HTML page?

marsh lance
#

the page is not public, it is running locally

foggy spindle
#

And you are connected to the internet?

marsh lance
#

yes, through the same I am here in this conversation

foggy spindle
#

Are you running this page inside any kind of framework with CORS protections?

marsh lance
#

note the path in the image. There is no framework being used, it's just direct access to the html

foggy spindle
marsh lance
#

I achieved. Thanks

foggy spindle
#

You achieved? What changed?

marsh lance
marsh lance
#

can you help me with another question in the product table?

foggy spindle
#

What's the question?