WordPress.org

Ready to get started?Download WordPress

Forums

Seamless Donations
"Pay now" vs "donate" button. International issue (7 posts)

  1. ez34144
    Member
    Posted 6 months ago #

    Im currently working on a website for a Thai NGO. Unfortunately I have learned that Thai paypal accounts are unable to receive donations from the US via the "Donate" button due to the countries own restrictions. The organization I work for is a registered NGO with Paypal Thailand, and even Paypal seems confused over the issue.

    Ultimately Paypal recommended that instead of using a "donate now" button I use the "Pay now" button because for whatever reason Thai accounts can accept funds via a "pay now" button. Recently I tried out "WP Easy Paypal payment Accept" and it works fine. After clicking on a provided "donate" icon, you are directed to a "pay now" page and it works perfectly.

    While WP Easy paypal is a fine plugin, it obviously does not offer the robust set of features that your plugin does. Is there a way to make your donate button point to a pay now page? Would it limit other functionality? If so, which functions would be affected.

    Thank you,

    M

    http://wordpress.org/plugins/seamless-donations/

  2. allendav
    Member
    Plugin Author

    Posted 6 months ago #

    Hmmm.... unfortunately that would complicate the maintenance of the plugin (seamless donations used to do _cart, but I fixed that in 2.1.3), so here's my suggestion:

    Try changing this line (near line 218 of dgx-donate.php)

    $output .= "<input type='hidden' name='cmd' value='_donations' />";

    from _donations to _cart

    and see if that works for you. If it does, let me know and I will add a filter on that so you can put a custom call in your theme's functions.php to make that change "survive" upgrades to seamless donations.

  3. ez34144
    Member
    Posted 6 months ago #

    Im sorry, but for the life of me I cannot find the above referenced line in the .php file. I have scoured the code, and used Kantharos IDE to help pinpoint the line, but I just cant find it. I cant even find anything all that similar.

    Apologies for my newbiness. Is there anything I could be doing wrong? Again Im using version 2.8.1

    M

  4. allendav
    Member
    Plugin Author

    Posted 6 months ago #

    Oh I'm sorry - i meant dgx-donate-paypalstd.php - look near line 218

  5. ez34144
    Member
    Posted 6 months ago #

    Thanks. I found it, but unfortunately I received this error after testing it out:

    "We have detected a problem with this shopping cart. If the problem persists, please contact the merchant"

    It seems like we are on the right track. Any other suggestions?

    Thanks,

    M

  6. allendav
    Member
    Plugin Author

    Posted 5 months ago #

    Hmmm... I wouldn't be surprised if multiple variables will need changing to support the old shopping cart technique. Sorry - I don't think seamless donations is going to work for you.

  7. viktor-photo
    Member
    Posted 4 months ago #

    Have found solution!

    Just change from _donations to _xclick.

    At least it worked for me :)

Reply

You must log in to post.

About this Plugin

About this Topic