Questions about Payment Form extension

Custom Fields - [amount] is a of type "Text"

  • Roland
  • Topic Author
  • Offline
  • New Member
  • New Member
More
23 hours 48 minutes ago #177445 by Roland
Custom Fields - [amount] is a of type "Text"
The [amount] Field-Type ist "Text"! (see attached Picture)
This confuses our customers because the amount is displayed as, for example, 1000.0 instead of 1.000,00, as is customary in Germany.
I tested “Number” as the Field-Type, but it is not accepted.--> Is there a way to enter the type “Currency” here?

Please Log in or Create an account to join the conversation.

More
18 hours 50 minutes ago #177454 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Custom Fields - [amount] is a of type "Text"
Hi

You should be able to change field type to Number. Exactly what's the problem with you change field type to Number?

Tuan

Please Log in or Create an account to join the conversation.

  • Roland
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 hours 27 minutes ago #177462 by Roland
Hi Tuan,

yes, I can set field type to Number.
The entered amount is also displayed correctly and carried over to the gross and total amounts.
But when I click “Pay,” I get the error message “The value must be 0.” (see attached Picture: "Der Wert muss 0 sein.")

Please Log in or Create an account to join the conversation.

More
7 hours 20 minutes ago #177470 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Custom Fields - [amount] is a of type "Text"
The error is expected. When you set the field to Number, the data is validated by web browser and users need to enter data in valid number format. Nothing is wrong here

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • Roland
  • Topic Author
  • Offline
  • New Member
  • New Member
More
7 hours 3 minutes ago #177475 by Roland
Hi Tuan,

I don't understand your answer.

I set the [amount] field type to “Number.”
I entered the number 10,50, which corresponds to the German standard.
The amount (10,50) is correctly carried over to the gross and total amounts.
And yet I still get this error message.

So this does not work for me.

Thanks,
Roland

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc