• Hello,

    I updated the plugin to 1.0.30 today and have encountered one error. It says the following even though the amount of the order was exceeding 0:

    Must be greater than zero. If the currency supports decimals, only two decimal place precision is supported.

    The status’ report shows the following: ERROR Error creating PayPal order. Msg:Must be greater than zero. If the currency supports decimals, only two decimal place precision is supported. Params: Array

    Looking forward to your help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Payment Plugins

    (@mrclayton)

    Hi @kathleen36

    The logic for how the order total is sent to PayPal did not change in version 1.0.30. If you downgrade to the previous version I suspect you will receive the same error. Can you try that?

    The plugin uses the total from the order and the shipping cart so that shouldn’t be returning $0 unless a 3rd party plugin is changing that value. Did you update any other plugins recently besides the PayPal plugin?

    Kind Regards

    Thread Starter kathleen36

    (@kathleen36)

    Hello,

    thank you for your reply!

    Yesterday I tried few other test orders, but I could not replicate the same issue.  As the problem is shown in my status’ report, it is apparently existing (i.e.

    ERROR Error creating PayPal order. Msg:Must be greater than zero. If the currency supports decimals, only two decimal place precision is supported. Params: Array

    (

        [intent] => CAPTURE

        [payer] => Array

            (

                [name] => Array

    I updated few other plugins as well – do you maybe know what kind of 3rd-plugins could change the value? It is hard to solve the problem, as I could not replicate the same error yet when placing test orders.

    Looking forward to your reply!

    Plugin Author Payment Plugins

    (@mrclayton)

    Hi @kathleen36

    Do you know if the order in question that failed has a coupon associated with it?

    do you maybe know what kind of 3rd-plugins could change the value?

    Do you have any coupon plugins? Perhaps a plugin you use to conditionally affect pricing?

    Kind Regards

    Thread Starter kathleen36

    (@kathleen36)

    During that one specific order, no codes were used, neither do I have any coupon plugins. But I will no longer check the problem stated above since it has not occured again.

    However, I faced another error today – the payment was apparently failed at first, but then succeded. Do you maybe know what the reason could have been for the caused error as shown in the log below? Just want to make sure that everything still works smoothly with your plugin on my site since I did few other updates too simultaneously.

    ERROR API error: Array
    (
    [url] => https://api-m.paypal.com
    [method] => POST
    [http_status] => 422
    [request] => Array
    (
    )

    [error] => Array
    (
    [name] => UNPROCESSABLE_ENTITY
    [details] => Array
    (
    [0] => Array
    (

    [issue] => TRANSACTION_REFUSED
    [description] => The request was refused

    [message] => The requested action could not be performed, semantically incorrect, or failed business validation.
    [debug_id] => 99e4c7247b7a6
    [links] => Array
    (
    [0] => Array
    (
    [href] => https://developer.paypal.com – TRANSACTION_REFUSED
    [rel] => information_link
    [method] => GET



Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Error msg since the new update: Must be greater than zero.’ is closed to new replies.