• Resolved chihi108

    (@chihi108)


    Hi I have installed the Give plugin for the Charitable website. It is giving me some return parameter error. Wrote to Stripe, they reply that there is no issue on their end but suugested to get in touch with yourselves.

    Error says Stripe confirm payment the confirmParams.return_URL argument is required when using automatic payment methods

    Please, can you help so that it is set up correctly? We tried to do a test donation, but at the last step this error shows and payment processing is halted

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Ginger Coolidge

    (@gscoolidge)

    Hello @chihi108 ,

    Glad you reached out, happy to help. That error is 99% attributed to caching and scripting compress/deferment. I can see the scripting console errors in the browsing when viewing your donations page here: https://www.loom.com/i/104ff1315d1748b29068559c2daf4b9a

    Below are two recommendations – JavaScript exclusions and Caching recommendations.

    JAVASCRIPT:
    GiveWP does not function well when its JavaScript is optimized further by a 3rd-party plugin or service. Here is a list of JavaScript files that should be excluded form optimization in LiteSpeed and/or any other plugin that might do the same:

    Core files:
    give.js
    give-donation-summary.js
    donor-dashboards-app.js

    Next, here are the caching recommendations of slugs to exclude at a minimum in your LiteSpeed Cache settings. 
    /donations/
    /donation-confirmation/
    /donor-dashboard/

    Also, the following query strings:
    give-embed=donor-dashboard
    giveDonationFormInIframe=1
    givewp-route=donation-form-view
    givewp-route
    give-listener=stripe

    Your web host or the caching plugin/solution you are using can help with that. If there is server-side caching like varnish and some Cloudflare/CDN components, you web host can assist there as well as the same exclusions would need to be applied. 

    Some of them may require what’s called a “wildcard” like /donations/* to capture all subdirectories under the /donations/ folder.

    Cookies:

    We also use two cookies:

    • The give_nl cookie provides email access to donors to view their donation history on your site.
    • The wp-give_session_* cookie is to maintain the donor session during the donation process.

    While fine-tuning cache falls outside the scope of the support we’re able to provide, your success with online donations is our number one priority, and we’re happy to assist with recommendations whenever possible. We have more details regarding caching here in our docs section:
    https://givewp.com/documentation/resources/caching/

    Let us know how things go after implementing and testing the above! 👍

    Plugin Support Robin Joshua Del Mundo

    (@robindelmundo)

    Hi @chihi108 ,

    It’s been a while since we’ve heard back, and I know troubleshooting needs a little extra time. I’m marking this as resolved for now, but if you still have questions, you can send them along right here, and I’ll be happy to hop back in.

    Have a great day!

    Thread Starter chihi108

    (@chihi108)

    Thanks in My Litespeed plugin I added the above exclusions and I tried a £1 trial of actual payment and I am pleased to say that it went through.

    The payment receipt which i received as a donor does include some code line which I paste below as mentioned in the Donation Processing Receipt

    [/?givewp-route=donate&givewp-route-signature=86de1011a3562324a70a67d01756c562&givewp-route-signature-id=givewp-donate&givewp-route-signature-expiration=1752050794&action=view_in_browser&_give_hash=e0ef9c182a13fcb0b54122b17e4ca1e2]View the receipt in your browser »

    and then in email about Donation Receipt this code is mentioned

    [/?give-listener=stripe&action=view_in_browser&_give_hash=e0ef9c182a13fcb0b54122b17e4ca1e2]View the receipt in your browser »

    How can I fine tune this?

    Thanks again for your support

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Return parameter fault’ is closed to new replies.