• Resolved squalk25

    (@squalk25)


    I’m testing an open amount product (essentially a donation button) with USD as the default currency and thus $ , and . as the currency symbol, thousands separator, and decimal separator.

    Entering a test amount of, say, 22 works fine. Entering 22.1 (meaning they mean to donate twenty two dollars and ten cents) also works fine. Entering 22.17, fine. But entering 22.177 (I used to be QA, so I test mis-keyed entries all the time) causes the transaction to fail with the error message ‘Details: Invalid integer: 2217.7’ Interestingly, the popup where the customer enters their credit card number correctly rounds the input – so here it said ‘Pay $22.18’.

    This issue has occurred both with ‘Apply Separators Settings To Customer Input’ checked and unchecked.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support mbrsolution

    (@mbrsolution)

    Hi, can you share with us what is your configuration under Advanced Settings? For example: Number of Decimals.

    Thank you

    Thread Starter squalk25

    (@squalk25)

    Currency position: left
    Decimal separator: .
    Thousand separator: ,
    Number of decimals: 2
    Apply Separators Settings To Customer Input: currently checked
    Enable For All Buttons and Products: unchecked
    Field Name: [blank]
    Field Description: [blank]
    Text Field Description Location: Placeholder
    Position: Above button
    Field Type: Text
    Mandatory: unchecked
    Enable Terms and Conditions: unchecked
    Checkbox Text: (default)
    Store Customer’s IP Address: unchecked
    Position: Above button
    Disable Buttons Before Javascript Loads: checked

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi, can you change the following entry.

    From Number of decimals: 2 to Number of decimals: 4

    Then carry out a test. Let me know what happens.

    Thank you

    Thread Starter squalk25

    (@squalk25)

    No change – same problem occurs.

    Just tested in Chrome (where I have been testing) and Edge to make sure it’s not a caching issue.

    Plugin Support mbrsolution

    (@mbrsolution)

    Okay lets try something different. Can you deactivate your other plugins, then try again. Let me know what happens.

    Also, make sure you clear any cache from a cache plugin if you have one and the browsers as well.

    Thank you

    Plugin Contributor Alexander C.

    (@alexanderfoxc)

    Hi and thank you for your report.

    I was able to replicate the issue and can confirm it’s there. I have made a fix for it, you can get a testing version from our website (Documentation page, look for Testing version).

    Let me know if that resolved the issue for you.

    Thread Starter squalk25

    (@squalk25)

    Works great – field validation is correct and transaction processed cleanly.

    Plugin Support mbrsolution

    (@mbrsolution)

    That is good news 🙂

    I am marking this thread as resolved.

    Enjoy the plugin.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Mis-entered open amount not validated, causing error’ is closed to new replies.