WordPress.org

Ready to get started?Download WordPress

Forums

Donate Plus
Comments not displaying on Wall (11 posts)

  1. jjm0109
    Member
    Posted 2 years ago #

    Hi,
    First of all, thank you for providing such a brilliant plugin, best donation tool for WP.

    I am using this plugin here: hxxp://centerforinnersciences.org/donate
    My plugin was working perfectly fine in sandbox. When I switched to live mode, the comments won't show up on the wall. Not even in the admin section. But I can manually add the comments from admin section.

    I went through the entire code but couldn't figure out anything.
    Also checked a similar thread earlier, it didn't provide any solution.

    Can anyone please take a look and solve the issue?

    Thanks a lot,
    Jugal

    http://wordpress.org/extend/plugins/donate-plus/

  2. span
    Member
    Posted 2 years ago #

    Donations, comments and thank you emails not working. The paypal site does show everything is OK on their end. Whats going on?

  3. jjm0109
    Member
    Posted 2 years ago #

    <bump/>

    Anyone, please? My payment is stuck due to this :(

  4. etstow
    Member
    Posted 2 years ago #

    I cannot figure out the comments problem.

    Here's how I fixed the IPN issue...

    In the donate-plus.php file there are two instances of something like this...
    str_replace(ABSPATH, trailingslashit(get_option('siteurl')), dirname(__FILE__)).'/paypal.php'

    Replace the first so it looks something like this...
    <?php _e('http://www.WEBSITE.COM/wp-content/plugins/donate-plus/paypal.php','dplus');?>

    The second should be...
    $notify = 'http://www.WEBSITE.COM/wp-content/plugins/donate-plus/paypal.php';

    Hope that helps!

  5. steve-pheriche
    Member
    Posted 2 years ago #

    Hi,
    the solution to the missing comment problem lies with the interaction with PayPal's IPN variables. If the donor leaves the url blank the comment will not be sent.
    This is because Donor Comment is being sent as OS1 , which is a variable that relates to ON1. PayPal expects ON1 to be a variable name, and OS1 to be the property. Such as "ON1=shirtcolor, OS1= blue" . So, in short paypal are rejecting OS1 when ON1 is not present.

    As a hacky fix you could find line 443 of donate-plus.php and change

    <input type="text" name="on1" id="donor_url"/>
    to read
    <input type="text" name="on1" id="donor_url" value="-"/>

    simply sending the hyphen as a variable name will allow the comment to be stored
    hope that helps

  6. nickharambee
    Member
    Posted 1 year ago #

    Thanks for posting a fix for this issue Steve. Very helpful.

  7. justinesmithies
    Member
    Posted 1 year ago #

    Here's an easier and much cleaner fix to the blank url issue :

    Place this just above the line

    if( $dplus['enable_wall'] == 1 ):

    $siteurl = get_option('siteurl');

    in donate-plus.php
    Then on the line

    <p class="donor_url"><label for="donor_url">'.__('Website', 'dplus').':</label><br /><input type="text" name="on1" id="donor_url" /></p>

    Add this add the end so it looks like this

    <p class="donor_url"><label for="donor_url">'.__('Website', 'dplus').':</label><br /><input type="text" name="on1" id="donor_url" value="' . $siteurl . '" /></p>

    This will automatically fill in the website field with your sites url so they can't leave it blank and its much prettier than a -

    Hope this helps ?

  8. popsmith
    Member
    Posted 1 year ago #

    Justinesmithies I'm not sure if i did this correctly but it did not work for me. My website is http://www.wymp.org
    you said place this just above the line? (What line) I'm confused.

    Someone help please.

  9. justinesmithies
    Member
    Posted 1 year ago #

    @popsmith Forget Donate Plus if you search here for Donate Extra that is the fork i am developing and it fixes all your issues.

    Justine

  10. popsmith
    Member
    Posted 1 year ago #

    @justinesmithies hey i downloaded your plugin and trying that but now not getting a recognition wall at all and i have the shortcodes on the page. What now? http://www.wymp.org

  11. justinesmithies
    Member
    Posted 1 year ago #

    @popsmith

    You only have the shortcodes on your page because you did not put them in using the html editor. It seems you used the visual editor.
    Remove them .
    Also you are using the wrong shortcodes.

    If you look at the raw html you have the shortcodes wrapped :

    <p><code>[donatewall]</code></p>
    <p><code>[donortotal]</code></p>

    You just need to add [donorwall] & [donatetotal]

    Please use the Donate Extra support forum for Donate Extra issue.

    Justine

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic