Paypal button disapeared on prosites

Hello

Since saturday, i don’t see paypal button on my Pro Sites checkout page.

All i see i the link description:

I want to understand why please and how to fix that.

  • aristath
    • Recruit

    Hello there @liensenor, I hope you’re well today!

    You mentioned that this happens since Saturday.

    Did you change something then? Perhaps changed themes? Installed a new plugin? Updated some plugins?

    Could you please post a link to your website so that I may see it in action?

    It would also be useful if you had access to your site’s error logs.

    Awaiting your reply,

    Ari.

  • aristath
    • Recruit

    [26-Mar-2013 16:49:02 America/New_York] PHP Fatal error: Call to undefined function wp() in /home/gratosho/public_html/wp-blog-header.php on line 14

    I’ve never seen this error before…

    Could you please try the following:

    – Switch your theme to the default twentytwelve theme. If that fixes your issue then something’s wrong in the theme.

    – If the issue still exists, start de-activating all your plugins except Pro-Sites one by one and each time you deactivate a plugin test again to see if the issue still exists.

    – If after de-activating all other plugins the issue still exists, rename your mu-plugins folder and see if that fixes your issue. If it does then the issue is in a file present there.

    This process will help us pinpoint the cause of this issue…

    Please report back here your findings.

    Cheers,

    Ari.

  • liensenor
    • Site Builder, Child of Zeus

    @ Aristhat,

    Thank you for your answer. I have desactivated all my multisite plugin (except prosites), and changed the theme to twentytwelves…. and noting happened.

    the same issue all realdy exist.

    below you can se a screenshot

    [attachments are only viewable by logged-in members]

  • aristath
    • Recruit

    Could you please send me you site’s superadmin credentials so that I may check it out and see all your settings first-hand?

    Send an email to aristath at incsub dot com

    – Include a link to this thread so that I may track this issue more efficiently

    – Include a link to your site’s login page

    – Include your superadmin credentials (user/pass)

    Cheers,

    Ari.

  • aristath
    • Recruit

    I just tested it, here's what's happening:

    Paypal works fine, BUT the image it tries to load from paypal does not exist or paypal has some trouble locating it.

    The screenshot shows that the paypal button exists and the markup is correct.

    However, if you try opening the image linked there you get an error 108 from paypal:

    Error 118 (net::ERR_CONNECTION_TIMED_OUT): The operation timed out.

    You can change the image there by simply editing the gateway file and replacing it with a file on your installation.

    I hope that helps!

    Cheers,

    Ari.

    [attachments are only viewable by logged-in members]

  • aristath
    • Recruit

    Ok, now i want to use my own image, i don’t know which file to edit and were to find (the line) the editable link.

    Open up this file:

    wp-content/plugins/pro-sites/pro-sites-files/gateways/gateway-paypal-express-pro.php

    Line 1474 looks like this:

    <input type="image" src="https://fpdbs.paypal.com/dynamicimageweb?cmd=_dynamic-image&locale=' . get_locale() . '" border="0" name="pypl_checkout" alt="' . __('PayPal - The safer, easier way to pay online!', 'psts') . '">

    If you put your image on http://gratoshop.com/paypal.png, then

    Replace this part

    "https://fpdbs.paypal.com/dynamicimageweb?cmd=_dynamic-image&locale=' . get_locale() . '"

    of the line I mentioned earlier with this:

    "http://gratoshop.com/paypal.png"

    So line 1474 should now look like this:

    <input type="image" src="http://gratoshop.com/paypal.png" border="0" name="pypl_checkout" alt="' . __('PayPal - The safer, easier way to pay online!', 'psts') . '">

    I hope that helps!

    Cheers,

    Ari.

    Was that helpful?

  • aristath
    • Recruit

    @liensenor I’m glad I could help you out!

    P.S. Thank you very very much for your points! I really appreciate the gesture!

    However I’m already a lifetime member and staff, so I don’t really need those points. :slight_smile: I have sent them back to you. If you keep helping out others in the forums you’ll get your lifetime membership too sooner than you think!

    Cheers,

    Ari.

  • aristath
    • Recruit

    I didn’t received any point :slight_smile:

    That’s because you didn’t send any.

    I went to reverse the action of your points donation but it does not exist.

    My points have not increased, I did not receive a notification of you giving points and I checked the number of posts you’ve made, compared them to your current reputation and verified that your points match the number of posts you’ve made.

    You did not send any points, so there is no action for me to cancel.

    Without an action to cancel I can not send your points back to you because they are already there.

  • aristath
    • Recruit

    If you try to send more points than you actually have (for example if you send 100 points and you only have 46 available) the points will not be sent.

    You can only send as many points as you have and they are deducted from your own points.

    So no, I did not receive 100 points because you never had 100 points to send.

    I hope that clears thing up.

    Cheers,

    Ari.