#mathieu-customer-calculation
1 messages · Page 1 of 1 (latest)
Hello, if you were to look into the customer directly and inspect the prices, you can try https://dashboard.stripe.com/test/customers/<customer_id>
And remove the /test path for live mode
Sorry i was not enought precise. My question is from the API point of view.
I'm trying to do my own integration with Element following this guide https://stripe.com/docs/billing/subscriptions/overview#incomplete but from what i understand i must create a subscription during the workflow.
What i want is to be able to have some preview calculation on the frontend about what the customer will pay (base on his price quantity choice). Then once i collect his payment method create the subscription and attempt the payment intent.
So it is possible to preview the price with some endpoint API without the subscription ressource ?
@hot lintel do you think it is possible ?
Let me check our resources and I will come back to you.
Hello Mathieu, would you like to give this a try? https://stripe.com/docs/api/invoices/upcoming
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
nice looks like what i need i'm gonna work on that thanks