#bojack420

1 messages · Page 1 of 1 (latest)

quartz furnaceBOT
livid bronze
#

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?

fathom gale
#

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

livid bronze
livid bronze
fathom gale
#

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

livid bronze
fathom gale
#

well whats the point of the real time support then?

livid bronze
#

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.

fathom gale
#

alright send it through briefly

#

ready?

livid bronze
#

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.

fathom gale
#

it seems to be on test mode

livid bronze
#

try searching prctbl_1OH2MtBPfdnqGiJz90AQKmY5 in your Dashboard.

#

(the ID that you're passing to the <stripe-pricing-table>).

fathom gale
livid bronze
#

yep, because it exists in live mode

#

so that's the issue, as I mentioned.

fathom gale
#

hmm odd, where do i copy the token for that?

#

i just see the price ID

livid bronze
#

it's in the snippet thingy the Dashboard generates.

fathom gale
#

ah nvm think i see it now

#

ill quickly see if that works

livid bronze
#

anyway just make sure you're generating the PricingTable and Prices all in test mode.

fathom gale
#

ah nvm I made a payment link. would it be under product catalogue?

#

nvm I think I see it

livid bronze
#

I have to run but my colleague @vital goblet can help with followups

fathom gale
#

no worries