WebSite X5Help Center

 
Antonio D.
Antonio D.
User

Custom payment importing wrong amount  en

Автор: Antonio D.
Просмотрено 1351, Подписчики 1, Размещенный 0  

When i type [PRICE] in my custom HTML for a custom payment instend of importing 500.00 its importing 5.00 

Размещено
3 Ответы - 1 Полезно
Gabriele P.
Gabriele P.
User

...try to type 500,00 instead 500.00...

Читать больше
Размещено От Gabriele P.
Antonio D.
Antonio D.
User
Автор

It has something to do with the way its importing the amount becouse its doing it automatically

Читать больше
Размещено От Antonio D.
Paul M.
Paul M.
Moderator

Hello Antonio,

You can edit the [PRICE] variable to suit your own preferences as per the following format:

[PRICE, #.###,@@[C]]

#.### defines the part before the decimal values.

@@ specifies how many decimals you want.

[C] is optional, but if included displays the currency after the price.

You can use a multiplier if necessary to alter the displayed price yet further...  please see the following thread where Claudio explains the process in detail:

https://helpcenter.websitex5.com/post/126932

Kind regards,

Paul

Читать больше
Размещено От Paul M.