#bojack420
1 messages · Page 1 of 1 (latest)
hi!
-
does this actually prevent the table appearing or is it just a warning in the console?
-
do you have a link to a page that reproduces this that we can check out?
yeah it prevents it, currently running off an ngrok. I can get a link for you to access it from shortly. could the issue be due to it not running on https currently?
here is my current code for it too.
<div class="p-4 sm:p-8 bg-white dark:bg-gray-800 shadow sm:rounded-lg">
<div class="max-w-xl">
<h1>We offer plans that help any business!</h1>
<!-- Stripe Pricing Table embed script -->
<script
async
src="https://js.stripe.com/v3/pricing-table.js">
</script>
<stripe-pricing-table
pricing-table-id=""
publishable-key=""
client-reference-id="{{ Auth::user()->id }}"
>
</stripe-pricing-table>
</div>
</div>
Can I send you a message with how to access it? don't want to disclose it to the public haha
wouldn't think so, I use this in localhost all the time.
if you can't share in public please open a support ticket at https://support.stripe.com/?contact=true
Last time it was fine for me to just message support...
itll just be a link and a username and password
or I can send it to your email directly
you could open a ticket with https://support.stripe.com/?contact=true (I'd suggest picking the email option, and selecting the "API Integration" topic, so that it gets routed effectively).
well whats the point of the real time support then?
I can totally help but I need a link. Other than that I don't know what would cause this, I tried out the PricingTable just now on my own testing site to confirm it's working in general. There's likely something specific to your set up that we'd need to dig into.
as you wish.
as far as I can tell the problem here is not that DOM error, it's that the pricing table config object you're using exists in Live mode but you're using a test mode API key.
try searching prctbl_1OH2MtBPfdnqGiJz90AQKmY5 in your Dashboard.
(the ID that you're passing to the <stripe-pricing-table>).
it's in the snippet thingy the Dashboard generates.
anyway just make sure you're generating the PricingTable and Prices all in test mode.
ah nvm I made a payment link. would it be under product catalogue?
nvm I think I see it
I have to run but my colleague @vital goblet can help with followups
no worries