Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Cart amount rounding too many decimals with coupon discount?

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Cart amount rounding too many decimals with coupon discount?

  • This topic has 5 replies, 3 voices, and was last updated 10 years, 11 months ago by wpCommerce.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • June 5, 2014 at 9:41 am #10958
    pinetribe
    Member

    Hello estore legends

    I am getting this PayPal error when I checkout with a coupon % discount and pay with my PayPal Pro hosted payment gateway:

    —

    Transaction unsuccessful!

    There was an error with your credit card processing

    Error Code: 10413

    Error Message: The totals of the cart item amounts do not match order amounts.

    —

    My guess at what’s happening is that the % discount is being applied to my before tax amount and then the total tax inclusive checkout amount is £4.3968. Since PayPal rounds that to £4.40 and tries to checkout it registers that £4.40 does not equal the cart amount of £4.3968 and returns an error.

    Does that seem like what could be happening? Any guidance on how we can workaround the issue?

    thanks a bunch

    June 5, 2014 at 11:22 pm #63516
    admin
    Keymaster

    Hi, Can you please share the URL of the product page and the coupon in question so we can check what it does after the coupon application?

    June 6, 2014 at 1:04 pm #63517
    pinetribe
    Member

    Thanks.

    Product page: [https://pinetribe.com/library/happy-hour-is-9-5/]

    Coupon code: MOREPINE5

    June 6, 2014 at 11:39 pm #63518
    admin
    Keymaster

    I didn’t see any issue when I added an item from the above mentioned URL then applied the coupon and did a checkout. I was on the PayPal checkout page and could pay.

    Does it happen when the multi-currency converter is used?

    June 8, 2014 at 10:03 am #63519
    pinetribe
    Member

    It only happens when checking out through our hosted PayPal Pro payment option. Select the ‘credit card’ option when checking out and you go to a payment details page. The discounted price is displayed, but when you put in credit card details and submit it returns the error.

    June 9, 2014 at 2:06 am #63520
    wpCommerce
    Moderator

    @pinetribe, we will need to take a closer look at your site to see what is happening. I have sent an email to your registered email address for site access. Let me know if you don’t receive it.

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ