#rmoura-minimum-charge

1 messages ยท Page 1 of 1 (latest)

tulip jewel
#

Can you clarify what you mean? We publish the minimum charge for each currency, but if you present in another currency than you settle you need to account for the conversion

grand trail
#

theres not any specific error... just Stripe::InvalidRequestError so I was asking if you had any service to check first

tulip jewel
#

Can you share an example request? There should be a very specific error message about this

#

Have you looked at the error body?

#

or in your developer dashboard for example?

grand trail
#

yeah but I would like to avoid using the message...Stripe::InvalidRequestError Exception: Amount must convert to at least 50 cents. $1 converts to approximately โ‚ฌ0.00.

#

but I would like to use stripe to check if the amount is good or not

tulip jewel
#

That's not supported, you need to send the appropriate minimum amount or handle that error

grand trail
#

that's done

#

thank you

lusty crystal
#

@grand trail what was the other question you had about multiple elements?

grand trail
#

yeah

#

so I want to make to payment elements

#

because the card element is ugly.... ๐Ÿ˜“

lusty crystal
#

Sorry to hear that. You can tweak a lot of the UI on PaymentElement have you tried?

grand trail
#

np I just prefer the payment element!

#

But I need to seperate in multiple elements

#

maybe I can have the paymnet element with only the card element and also have a sepa element at the same time

lusty crystal
#

yes that totally works

grand trail
#

ok nice!

#

Thats it ๐Ÿ™‚

lusty crystal
#

Awesome ๐Ÿ™‚

grand trail
#

How can i prefill the country in a payment element?

#

any idea?

#

because changing the billing details does not change this field

lusty crystal
#

I don't think you can but looking

grand trail
#

ok thanks

#

did you find something?

lusty crystal
#

I did confirm with the team that it's not something supported today. The country dropdown is pre-filled based on the customer's IP and it can't be set/pre-filled by your integration