• jjm0109

    (@jjm0109)


    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

    https://www.ads-software.com/extend/plugins/donate-plus/

Viewing 10 replies - 1 through 10 (of 10 total)
  • span

    (@span)

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

    Thread Starter jjm0109

    (@jjm0109)

    <bump/>

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

    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('https://www.WEBSITE.COM/wp-content/plugins/donate-plus/paypal.php','dplus');?>

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

    Hope that helps!

    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

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

    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 ?

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

    Someone help please.

    @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

    @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? https://www.wymp.org

    @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

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Plugin: Donate Plus] Comments not displaying on Wall’ is closed to new replies.