#jm-label
1 messages · Page 1 of 1 (latest)
The total amount label in the order summary
Sorry, I'm still not sure what you're referring to. Our Payment Element does not have a total field, it only has fields for collecting payment method details.
I don't recognize that UI off-hand, and that does not look like our Payment Element. Can you elaborate on the steps you're taking to see that UI?
I am selecting Google Pay as the payment method (the form is created with PaymentElement from a SetupIntent)
That is a browser dialog, after I selected Google Pay
Ah gotcha, so that would be Google's UI for the Google Pay. No, there is not currently a way to adjust that so it would display an amount there for Setup Intents.
So my user will feel confused
Why is that not possible? (to adjust the total amount before it shows to the user)
Because when you create a Setup Intent, that's performing a zero-dollar charge to verify the provided information is correct and valid, so Google's UI is reflecting the correct amount for the charge that is being placed.
Are you trying to only save payment method information, or are you trying to save it while also immediately collecting a payment?
Charging, but it would be very useful for the user to know how much they will be charged in the future
If you want to make a charge while saving payment method information, then you can use this approach:
https://stripe.com/docs/payments/save-during-payment
If you do, Google's UI will reflect the amount of the associated Payment Intent.
It could be beneficial for your customers to know what you're going to charge them in the future, but at the time of the Setup Intent neither Google or Stripe know what those plans are and whether they're subject to change. If you want to display your plans to your customers, then you could build UI to do so.
The user and the system knows that the amount will not change in the future, that's part of the business logic
Hi there. toby had to step away. Did the above answer your question?
Hi @shadow garnet, it does not answer my question
It must be a way to update the amount label
If you use my colleague's suggestion, why would you need to update the amount? It's save during payment, so it should show the correct amount being charged
I can't use a payment intent because it is a crowdfunding like app, where the user could be not charged or charged what they are "purchasing"