#gggpound_docs
1 messages · Page 1 of 1 (latest)
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.
- gggpound_docs, 11 hours ago, 56 messages
- gggpound_docs, 1 day ago, 12 messages
- gggpound_docs, 6 days ago, 19 messages
- gggpound_docs, 6 days ago, 37 messages
👋 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.
hello! I'm sorry but i don't understand, can you explain what's the behaviour you're expecting?
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?
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
Checkout Sessions could not init subscription
When I was rendering check, I encountered this client secret parsing error
client secret is created by this
that's incorrect. I recommend you refer to https://docs.stripe.com/billing/quickstart for how to use Checkout with Subscriptions
Is there a problem with the creation logic of client secret?
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
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?
Yes that's exactly why we recommend to take a step back and look through the shared Doc above carefully
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
First do you have any plan to use Checkout Session as mentioned here?
【Checkout Session】 You mean this one right here?
No. You mentioned "Checkout Session" on your message. Please refer to the message here?
Checkout Sessions could not init subscription
I'm sorry to ignore what I said earlier, but maybe I misunderstood.
After you create a Subscription by this code, what did it give you in response?
the response from Stripe API