#gggpound_docs

1 messages · Page 1 of 1 (latest)

swift yokeBOT
haughty pebbleBOT
#

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

swift yokeBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1260436771674525816

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

vague folio
#

hello! I'm sorry but i don't understand, can you explain what's the behaviour you're expecting?

vagrant glade
#

I want the amount to be displayed when the user subscribes. But I can't get the exact amount of this product

#

Because this amount is an after-tax value, it's a stripe value

#

Is there any payment element that can render product information?

vague folio
#

the Payment Element is only to collect payment method details. It's up to you to implement the logic to display the amount that the user needs to pay on your site. I assume you have a PaymentIntent or Invoice, you should be able to get the amount from either of those objects

#

Like what was mentioned in previous threads, you can use Checkout Sessions that will display that information for you

vagrant glade
#

Checkout Sessions could not init subscription

vague folio
#

i don't understand what you mean

#

Checkout Sessions support creating subscriptions

vagrant glade
#

When I was rendering check, I encountered this client secret parsing error

#

client secret is created by this

vague folio
vagrant glade
#

Is there a problem with the creation logic of client secret?

vague folio
#

yes, there is a problem with your client_secret - If you are using the hosted Checkout page, you don't need to use a client_secret

#

please go through the quickstart guide first

haughty pebbleBOT
vagrant glade
#

I'm going crazy. I've already made the payment, and now I just want to show the after-tax amount of the product. Why is it so complicated?

brisk loom
#

Yes that's exactly why we recommend to take a step back and look through the shared Doc above carefully

vagrant glade
#

I collect payment information using PaymentElement and submit the payment using confirmPayment to complete the transaction. Now, I need to add an amount information. Why is it so complicated?

#

Can't solve my problem right now... I have no idea what to do

brisk loom
vagrant glade
#

【Checkout Session】 You mean this one right here?

brisk loom
vagrant glade
#

I'm sorry to ignore what I said earlier, but maybe I misunderstood.

brisk loom
#

Okie so I think you are purely on PaymentElement

#

Let's ignore Checkout

brisk loom
#

the response from Stripe API