# Javascript will not display

**URL:** <https://community.hubspot.com/t/javascript-will-not-display/84447>\
**Category:** CMS Development\
**Tags:** javascript\
**Created:** [June 29, 2023, 9:04pm UTC](https://community.hubspot.com/t/javascript-will-not-display/84447 "2023-06-29T21:04:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dtheus](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dtheus/32/199106_2.png) [@dtheus](https://community.hubspot.com/u/dtheus)\
**Post date:** [June 29, 2023, 9:04pm UTC](https://community.hubspot.com/t/javascript-will-not-display/84447/1 "2023-06-29T21:04:04Z")

</div>

I have a Stripe Product page that I want to embed in a website page but will not display:

\<script async src=“[https://js.stripe.com/v3/pricing-table.js](https://js.stripe.com/v3/pricing-table.js)”\>\</script\>  
\<stripe-pricing-table pricing-table-id=“OUR ID”  
publishable-key=“OUR KEY”\>  
\</stripe-pricing-table\>

This is simple and it’s provided by STRIPE but when I add to page and then Publish, I get

## Something went wrong

There was an unexpected error. Please try again later.

So something is blocking the rendering and I can’t figure out why. I’ve created a module and that shows on preview and when I add to page on preview but when I open on a full window it’s blocked.

---

<div class="post-metadata">

**Author:** ![Mike\_Eastwood](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mike_eastwood/32/70075_2.png) [@Mike\_Eastwood](https://community.hubspot.com/u/Mike_Eastwood)\
**Post date:** [June 30, 2023, 1:10am UTC](https://community.hubspot.com/t/javascript-will-not-display/84447/2 "2023-06-30T01:10:54Z")

</div>

Hi @dtheus

We’ve successfully implemented the Stripe Pricing Table, using a Custom Module, on our site [Portal-iQ HubSpot Audits](https://portal-iq.com/).

Send me a link to your page and I will see if I can see the issue.

Cheers

Mike

---

<div class="post-metadata">

**Author:** ![dtheus](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dtheus/32/199106_2.png) [@dtheus](https://community.hubspot.com/u/dtheus)\
**Post date:** [June 30, 2023, 3:19pm UTC](https://community.hubspot.com/t/javascript-will-not-display/84447/3 "2023-06-30T15:19:57Z")

</div>

Hi Mike… thanks for the help here. I’m sure it’s something stupid that we missed. Here’s the link:  
[https://fixlehome.com/fixle-pricing?hs\_preview=dIqQfebJ-122555621396￼](https://fixlehome.com/fixle-pricing?hs_preview=dIqQfebJ-122555621396%EF%BF%BC)

---

<div class="post-metadata">

**Author:** ![Mike\_Eastwood](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mike_eastwood/32/70075_2.png) [@Mike\_Eastwood](https://community.hubspot.com/u/Mike_Eastwood)\
**Post date:** [July 3, 2023, 4:39am UTC](https://community.hubspot.com/t/javascript-will-not-display/84447/4 "2023-07-03T04:39:10Z")

</div>

Hi @dtheus

When I visit the page you sent me everything seems to be working normally.

When I was logged into HubSpot – working on my pages – I saw errors thrown by Stripe which I assume is something to do with the additional scripts HubSpot loads when you’re logged in.

Do you see the issue if you log in with a browser without being logged into HubSpot?

Mike

---

<div class="post-metadata">

**Author:** ![dtheus](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dtheus/32/199106_2.png) [@dtheus](https://community.hubspot.com/u/dtheus)\
**Post date:** [July 11, 2023, 7:43pm UTC](https://community.hubspot.com/t/javascript-will-not-display/84447/5 "2023-07-11T19:43:02Z")

</div>

Yeah works on the Hubspot “Preview page” but when I publish the page it no longer shows the embed table.
