• Resolved marcorm69

    (@marcorm69)


    Hi all.

    I don’t able to test the Paypal standard donation with Paypal sandbox.

    I have two sandbox account, I used the first one in plugin setting as “Vendor”
    In settings, I have enabled “Test mode” and “Paypal Standard” and “Test Donation”.
    When I try to donate, I use the second sandbox mail, but the the paypal page is not appear, I see directly the successful donation page.

    I have try to choose “Test Donation” and “Paypal Standard” in donation form, but the issue is the same.

    What am I doing wrong?

    Regards,
    Marco

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter marcorm69

    (@marcorm69)

    Hi.

    I have found the issue.
    The problem is the change of type of payment.
    Every time I change the type of payment in form, the form freezes, I see the wait icon in the right top of form, but the content of form not change.

    Any suggestion?

    Plugin Contributor Ben Meredith

    (@benmeredithgmailcom)

    Hi @marcorm69,

    Usually the form freezing on changing of the payment gateway is related to something blocking access to a specific file called admin-ajax.php. That file is necessary for GiveWP to switch the payment method.

    One commone reason that file is blocked is if sites load over both http and https.

    A security feature of that file is that it is not able to be executed from a different url. https://example.com and https://example.com are technically different URLs. So if a person is visiting in a browser that is on https://example.com and attempting to execute the file at https://example.com the security feature kicks in and prevents anything from happening.

    The fix is to route all traffic on your site to https, and to change all instances of the http version of the URL in the database to the https version. Another “gotcha” that sometimes results in frustration is that the www and non-www versions all need to be standardized, and the files should be delivered over the same version (https://www.example.com or https://example.com) that all traffic is forced over.

    We have a detailed tutorial that covers these items really well. The article will walk you through the following things that are relevant to this issue:

    1. the “update your Site URL” section
    2. the “Force HTTPS Throughout your Site” section
    3. the “Resolve insecure elements your Pages” section.

    That article is here: https://givewp.com/documentation/resources/how-to-use-ssl-and-https-for-your-wordpress-website/

    Let me know if you need further assistance. Thanks for using GiveWP! Have a great day.

    Thread Starter marcorm69

    (@marcorm69)

    Hi.

    My site is already in https, I have read the article and my lock is green in every page, but the issue persist.

    This is my page with 2 donation forms

    https://www.mamafrica.it/

    I have setting 2 payment methods, Paypal and Bank, with Paypal as default.
    If I try to switch to Bank Payment, the form freeze with wait icon that turns endlessly

    Regards,
    Marco

    • This reply was modified 5 years ago by marcorm69.
    Thread Starter marcorm69

    (@marcorm69)

    I have made further checks, in the Chrome console I have found this error when I change the payment methods:

    give.js?ver=2.6.0:32 Uncaught TypeError: jQuery(…).find(…).block is not a function
    at a (give.js?ver=2.6.0:32)
    at HTMLInputElement.<anonymous> (give.js?ver=2.6.0:42)
    at HTMLDocument.dispatch (jquery.js?ver=1.12.4-wp:3)
    at HTMLDocument.r.handle (jquery.js?ver=1.12.4-wp:3)
    a @ give.js?ver=2.6.0:32
    (anonymous) @ give.js?ver=2.6.0:42
    dispatch @ jquery.js?ver=1.12.4-wp:3
    r.handle @ jquery.js?ver=1.12.4-wp:3
    DevTools failed to parse SourceMap: https://www.mamafrica.it/wp-content/themes/Divi/js/custom.unified.js.map

    Thread Starter marcorm69

    (@marcorm69)

    Ok, I have resolved the issue.
    In Advanced Setting I have set the load script at the bottom of page.

    Regards,
    Marco

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Paypal standard & sandbox’ is closed to new replies.