Support » Plugin: TheBunch KE Pesapal Gateway for Woocommerce » Decimal Points when checking out via MPESA

  • Resolved jatelo2

    (@jatelo2)


    Pesapal is showing amounts with decimal points when I use Mpesa to checkout.

    As you know, MPESA doesn’t support decimal points. How do I get rid of this?

    My prices product prices have no decimal.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Paul Kevin

    (@rixeo)

    Hey @jatelo2,

    Hope this finds you well and happy new year đŸ™‚ Kindly clarify if the price with decimals shows on PesaPal side or on your site.
    If the decimals are on PesaPal side, you might have to raise this with the team at PesaPal on a workaround for this.

    Looking forward to your response.

    Warm Regards
    Paul Kevin

    Thread Starter jatelo2

    (@jatelo2)

    Here is the screenshot

    https://snipboard.io/vQc9xT.jpg

    My prices are in dollars, and it seems pesapal is converting them to Kenya shillings with decimal.

    I called pesapal and they said, I should talk to the developer

    Plugin Author Paul Kevin

    (@rixeo)

    Hey @jatelo2,

    This seems to be an issue with PesaPal. We send the product price and the currency to their gateway for payment. The plugin only sends the data as it is to PesaPal, PesaPal decide on the conversion and the decimal. This, unfortunately, is nothing to do with the plugin but entirely on PesaPal’s side.
    Kindly reference them to this forum topic for reference as the issue is :

    • USD is send to PesaPal
    • PesaPal Gateway converts USD to KES. This adds a decimal point and is shown to the end user for payment

    On the plugin code side, there is nothing I can do to change the currency conversion PesaPal use.

    Warm Regards
    Paul Kevin

    Plugin Author Paul Kevin

    (@rixeo)

    Hey @jatelo2,

    I have spoken to PesaPal and they will look into the issue

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.