#dbt-stef
1 messages · Page 1 of 1 (latest)
Hi, let me help you with this.
I followed the documentation however I get a JS error
Its about this price table: prctbl_1O9mmSBOzCd8Q2GRZoKsccXl
Hm, this doesn't look right. Are you sure you're using the right pub key?
I just copy and pasted what the dashboard showed me
How can I double check the pub key is fine?
I understand. I think it might be an issue on our side.
Do you have a URL where I could reproduce this?
sure hold on
I need to whitelist stirpe to Content Security Policy but this is the URL
takes approx. 10m to apply to loadbalancers of GCP
You can also use this to quickly make your local site available: https://ngrok.com/
Its faster this way, just waiting for LB update
but interesting approach, didnt know that (i am a backend developer)
I might need to step away in 10 min, but my colleague will take over.
yeah, the usual thing happened. It works here (Same html) https://doorbit.com/stripe-issue.html
It must have todo with localhost testing
<html>
<head></head>
<body>
<h1>We offer plans that help any business!</h1>
<!-- Paste your embed code script here. -->
<script
async
src="https://js.stripe.com/v3/pricing-table.js">
</script>
<stripe-pricing-table
pricing-table-id='prctbl_1O9mmSBOzCd8Q2GRZoKsccXl'
publishable-key="stripped-out"
>
</stripe-pricing-table>
</body>
</html>
I guess I can work this way
If you are eager to try it yourself you can create a local html file with the given code
How are you testing locally?
Just opening the file on my computer
I see it working too.
You need a web server to serve you the files.
Happy to help.