#acaiafa
1 messages · Page 1 of 1 (latest)
Hi 👋
What do you mean "product table"? Are you referring to the Stripe Pricing Table?
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'.
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
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'.
Where is that error coming from? What is throwing it?
Do you have an example of your page?
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>
And you are connected to the internet?
yes, through the same I am here in this conversation
Are you running this page inside any kind of framework with CORS protections?
note the path in the image. There is no framework being used, it's just direct access to the html
Is there anything else at all running on this page? https://stackoverflow.com/questions/29918350/failed-to-execute-postmessage-on-window-invalid-target-origin
I achieved. Thanks
You achieved? What changed?
it cannot be the HTML file outside of running a server such as http://localhost
can you help me with another question in the product table?
What's the question?