Support » Plugin: GiveWP - Donation Plugin and Fundraising Platform » Donation Forms Not Redirecting to PayPal

  • Resolved David Trower

    (@jdtrower)


    Hi! We have received a couple complaints from one of our clients whose site we used the Give plugin on that form submissions aren’t working when they were working fine when the site launched just a couple of weeks ago. I have verified on my personal computers and mobile devices that filling out the form and clicking submit results in the spinner just spinning and never being redirected to PayPal. However, when I opened a ticket with our server tech support, they are redirected to PayPal when they fill the form out. I have tested in the latest versions of Chrome, Firefox, Edge, Opera, and IE11 on a Windows 10 computer as well as in Safari on iOS 11.1.2 and the form just sits there after clicking submit. Tech support is claiming that there is nothing on the server that is blocking admin-ajax.php from being served.

    The donation form is located on both the homepage and on a dedicated Donate page and the same issue occurs on both pages – https://supportafuture.org/ and https://supportafuture.org/donate/

    Thanks for your help!

    David Trower

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Devin Walker

    (@dlocc)

    Hey @

    The main concern when the form submits is this console error message:

    POST https://supportafuture.org/wp-admin/admin-ajax.php net::ERR_EMPTY_RESPONSE

    I’m also seeing this issue when submitting the form:

    Mixed Content: The page at ‘https://supportafuture.org/donate/’ was loaded over HTTPS, but requested an insecure image ‘http://supportafuture.org/wp-content/uploads/2017/11/internal-page.jpg’. This content should also be served over HTTPS.

    That may have an issue with the submission but shouldn’t.

    I was able to successfully submit a few donations that sent me over to PayPal when I autofilled the form. However, when I manually filled it out then it wouldn’t submit. There definitely seems to be an issue going on related to admin ajax access.

    Where is your site hosted?

    Hi @dlocc

    That was the error that I was discovering in my testing. I haven’t seen the mixed content error, I’ll have to look into that. There is a plugin that should have fixed that. I’ve had a developer also looking into this and he is wondering if it is server resource related.

    We have a dedicated server that we use to host clients websites. Our server is with KnownHost and the server is running CloudLinux. From the tools section for the Give plugin, our server info is Apache/2.4.25 (Unix) OpenSSL/1.0.1e-fips mod_bwlimited/1.4 PHP/5.6.30

    Let me know if there is anything else that you need.

    David Trower

    Plugin Author Devin Walker

    (@dlocc)

    In the System Info what does it say about “Admin AJAX”?

    I hadn’t noticed that in the system info. It is saying Inaccessible. However, I can verify that the file is located inside wp-admin where it should be and I can directly load the admin-ajax.php file and get a 0, which is what I believe should happen if you access that file directly via a web browser.

    David

    Also, I don’t know if this is related or not, but I set the following options in the wp-config.php file:
    define( ‘WP_DEBUG’, true );
    define( ‘WP_DEBUG_LOG’, true );
    define( ‘WP_DEBUG_DISPLAY’, false );

    Looking at the log, I noticed 104 instances of the following PHP notice between 17:36:34 UTC and 17:43:01 UTC today:
    [01-Dec-2017 17:42:15 UTC] PHP Notice: Undefined index: currency in /home/supportafuture/public_html/wp-content/plugins/give/includes/formatting.php on line 35

    I tried submitting the form while I had wp_debug on and there are no other PHP notices being logged in the wp_debug_log file.

    David

    Plugin Author Devin Walker

    (@dlocc)

    Hey @jdtrower – I don’t think the PHP notice would be causing that issue. Because you’re on a dedicated server I would bet it’s something related to a server setting or file permissions that is causing the issue. At this point I’m not sure what to recommend other than reaching out to your sysadmin or developer to check permissions of that file because it is inaccessible from Give per the bug you’re experiencing and the system info provided.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Donation Forms Not Redirecting to PayPal’ is closed to new replies.