#mks_best-practices

1 messages · Page 1 of 1 (latest)

alpine folioBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1217011152312209418

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

hidden jackalBOT
tacit creek
gray grotto
#

I do have multiple plan
one plan of 39$
another of 200$

each having 5 products which all are volume based

tacit creek
gray grotto
#

We want customer will land on our website

they will look at pricing table and based on that we will create subscription with new customer

tacit creek
#

Yes, this can be achieved with the guide above. Have you checked it?

#

The pricing table should be implemented by your own system, then submit the product/price information to Stripe to create a subscription

gray grotto
#

okay

gray grotto
#

is there any way I can create it with no code

tacit creek
#

The closest I can think of is to use pre-defined set of prices to create a subscription by using Buy Button: https://docs.stripe.com/payment-links/buy-button

If it's a mix and match of prices by customers themselves, the custom code integration will be required: https://docs.stripe.com/billing/subscriptions/build-subscriptions

Use Payment Links to create an embeddable buy button for your website.

Create and manage subscriptions to accept recurring payments.

gray grotto
#

Okay Thanks

#

Hey one more think to ask
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> <script async src="https://js.stripe.com/v3/pricing-table.js"></script> </head> <body> <h1>We offer plans that help any business!</h1> <!-- Paste your embed code script here. --> <stripe-pricing-table pricing-table-id="prctbl_1OtPLfDgqR5w8erL8ni8EK7Y" publishable-key="pk_test_51Nb6LdDgqR5w8erLtw7HnsfBEHWEN1nLQ26T69jxEIG1emyNu4orLDtQHlu3Ph1S1MuLLzcEzbCGLu3Rpe19icx400TZBqPrJ9"> </stripe-pricing-table> </body> </html>

above code is not working for me

giving me error like below what went wrong in this?

tacit creek
#

The code you shared is working fine for me

gray grotto
#

Okay , Do I need to deploy it or do something to work becuase on my local and also my college machine it is not working

tacit creek
#

Can you share your development website in public accessble URL with the error, so that we can take a look?

alpine folioBOT
dry sonnet
#

You need a HTTP server to embed pricing table:

The pricing table requires a website domain to render. To test the pricing table locally, run a local HTTP server to host your website’s index.html file over the localhost domain. To run a local HTTP server, use Python’s SimpleHTTPServer or the http-server npm module.
https://docs.stripe.com/payments/checkout/pricing-table#limitations:~:text=Testing the pricing,server npm module.

Display a pricing table on your website and take customers directly to Stripe Checkout.