PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

The link for Paypal contains an incorrectly formatted item amount.

  1. hypergolica
    Member

    Hi, I'm using Carl's paypal transaction script from here:
    http://www.gravityhelp.com/forums/topic/adding-paypal-transaction-fee

    Strangely, when I change the percent to 2.75% (instead of 2.4%) and remove the added ยข30 fee, I get the following message:

    "The link you have used to enter the PayPal system contains an incorrectly formatted item amount."

    The code I've changed is as follows:
    return total + (total * 0.0275);
    from the Javascript, so the 2.75% is included in the total on the form.

    Then, in the add_filter, I change:
    $fee = ($total * 0.024) + 0.3;

    to:
    $fee = $total * 0.0275;
    (Note: I tried both with and without parenthesis around the operation.)

    It took me a while to figure out that when I put the original code back in place, it worked fine. So what is it Paypal doesn't like about my 2.75%?

    Any ideas? Thank you for your help!

    Posted 12 years ago on Wednesday February 22, 2012 | Permalink
  2. hypergolica
    Member

    Hello, for reasons explained here, I am running Gravity Forms 1.6.2 and not 1.6.3:
    http://www.gravityhelp.com/forums/topic/ajax-stopped-functioning

    The problem described above was one I had prior to the update. I continue to get the same problem (and had a similar problem with the updated version.)

    The payment form can be found here:
    http://www.aur.edu/american-university-rome/admissions/online-payment-gateway-summer-2012/
    password: paypal2

    Sometimes it works, and sometimes I get this:

    "The link you have used to enter the PayPal system contains an incorrectly formatted item amount."

    Can anyone provide any insight? Thank you.

    Posted 12 years ago on Friday February 24, 2012 | Permalink