#jm-label

1 messages · Page 1 of 1 (latest)

fallow cosmos
#

Hi 👋 what label are you referring to?

inner bone
#

The total amount label in the order summary

fallow cosmos
#

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.

inner bone
fallow cosmos
#

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?

inner bone
#

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

fallow cosmos
#

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.

inner bone
#

So my user will feel confused

#

Why is that not possible? (to adjust the total amount before it shows to the user)

fallow cosmos
#

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?

inner bone
#

Charging, but it would be very useful for the user to know how much they will be charged in the future

fallow cosmos
#

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.

inner bone
#

The user and the system knows that the amount will not change in the future, that's part of the business logic

shadow garnet
#

Hi there. toby had to step away. Did the above answer your question?

inner bone
#

Hi @shadow garnet, it does not answer my question

#

It must be a way to update the amount label

shadow garnet
#

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

inner bone
#

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"