• Resolved webby1973

    (@webby1973)


    Hello, with the new plugin settings I was always getting errors even with a value of more that 1.00

    Apparently it’s mandatory to use a “Purpose / Name” otherwise PayPal returns an error about the wrong syntax. Can you please check it out? Thank you.

    I also would like to know where is the string “Donation amount” because I need to translate it.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Scott Paterson

    (@scottpaterson)

    Hi @webby1973,

    You want to allow users to enter their own amounts?

    If I understand your question correctly, yes, this can still be done. It’s a little different then before with PayPal Standard.

    Before, you could enter 0 and it would redirect to PayPal to let the user choose an amount. The new PayPal Express checkout removed this feature, so we added it into the plugin so it will always work no matter if PayPal makes changes again in the future.

    Now, you need to choose Manual Entry and enter 0.00

    It will look like this on your site:

    And that will allow your visitors to choose a custom amount.

    If I understood your question incorrectly, please let me know.

    I hope that helps.

    Best,
    Scott

    Thread Starter webby1973

    (@webby1973)

    Hello @scottpaterson , yes I know the new setting, I’m saying that it didn’t work for me.

    1. The previous button just doesn’t save the new “Manual Entry”, it always automatically reverts to the Fixed value. So I had to create a new button.
    2. The field “Purpose / Name” is apparently not optional. If I don’t enter a description, PayPal returns a syntax error.
    3. How can I translate “Donation amount”? I also need to add some CSS to that field, now it’s not centered as the other elements in the box I’ve created.

    Thank you!

    Plugin Author Scott Paterson

    (@scottpaterson)

    Hi @webby1973,

    To answer your questions:

    1. The previous button just doesn’t save the new “Manual Entry”, it always automatically reverts to the Fixed value. So I had to create a new button.

      That does sound like a bug, I will look into this.
    2. The field “Purpose / Name” is apparently not optional. If I don’t enter a description, PayPal returns a syntax error.

      Yes, I just tested and see this issue as well. I’ll release an update for this. I will probably just not make the field optional, as if it’s blank I will need to pass a value like. “No Item Name” to PayPal / Stripe, which isn’t ideal anyways.
    3. How can I translate “Donation amount”? I also need to add some CSS to that field, now it’s not centered as the other elements in the box I’ve created.

      I will add a new field in the button settings to change this text and also give it a CSS ID.

      I will work on these issues today and release a new version later and update this topic when I’ve released it.

      Best,
      Scott
    Plugin Author Scott Paterson

    (@scottpaterson)

    Hi @webby1973,

    Just released the new version! It’s version 1.4.3.

    Now you can change the Donation Amount default text. It’s on the edit button page in the “Other” section.

    Hopefully that fixes all of your issues, if you still continue to have problems, please let me know! ??

    Below is the new version changelog:

    • 10/25/24
    • New – Added feature for changing the “Donation Amount” text. This is a per button setting when using manual donation amounts.
    • New – The Donation title label now has the CSS ID “wpedon-1-name-label” Replace 1 with whatever the button id is. The button id can be found on the Donation “Buttons” page.
    • New – The Donation amount label now has the CSS ID “wpedon-1-amount-label” Replace 1 with whatever the button id is. The button id can be found on the Donation “Buttons” page.
    • Fix – The “Show Currency” toggle now works for manual donation amounts.
    • Change – Default manual donation amount text has been changed from “Donation amount” to “Donation Amount”.
    • Change – The Purpose / Name field is now required. It’s best price to pass a value since PayPal and Stripe require a value to be set. Passing “No Item Name” isn’t ideal.



    Thread Starter webby1973

    (@webby1973)

    Hi @scottpaterson , thank you very much!

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