mrprainx
Forum Replies Created
-
Forum: Plugins
In reply to: [Complianz - GDPR/CCPA Cookie Consent] Lots of errors in debugOk great. Thank you.
This is already a very useful info @zenaulislam
Thank you. Have a great day.
Forum: Plugins
In reply to: [Add to Calendar Button] Apostrophe ‘ breaks the shortcodeOh! Now I see.
Great. Thank you @jekuer
From here: https://ww.wp.xz.cn/plugins/restrict-content/advanced/
Go at the bottom of the page and select the version you want to rollback to, download it and install it on your website.
But I strongly recommend this plugin: https://ww.wp.xz.cn/plugins/wp-rollback/It’s designed to give you the chance to rollback (almost) every plugin to (almost) every older version straight from the Plugin section of your website.
Forum: Plugins
In reply to: [GiveWP - Donation Plugin and Fundraising Platform] Stripe ErrorHello @scruffymonkeydm. I’m not from the support team but I’m a “veteran GiveWP user” 😀
That’s most likely a caching issue.
I’m pasting you the standard answer that the GiveWP team gives when it comes to caching issues:
==============
The fix is a bit technical, so I’ll include as much detail as possible here, but you may need to reach out to your web developer or web support person to implement the recommendations I’ll be talking about below.
Your issue here is caused by some caching happening somewhere in the process. If you’re not familiar with caching, it’s a method of saving server resources by storing copies of a page or site, so that the next visitor’s visit doesn’t trigger a call to the server at all, they just get the copy that was saved. Basically instead of the site needing to recreate the page from scratch, it sends up a copy which allows it to load faster.
We put together this deep dive into what caching is and how it can cause problems: https://givewp.com/documentation/resources/caching/
Caching works really well for speeding up sites, but when a saved copy of the site has sensitive information in it (like donor info) it’s important that GiveWP not share that with the next visitor. If GiveWP is not convinced that the browser requesting the data is the correct one, it defaults to not showing the data.
Caching is handled differently on various sites and web hosts. This could mean a caching plugin, or caching could be in a security solution. Hosting providers also have settings for caching at the server level, and they can help make adjustments for you there. Most caching solutions have a setting or section for excluding specific URLs or parts of URLs (called “slugs”) from caching. At the very least, you should exclude the following slugs from caching:
- /donations/
- /donation-confirmation/
- /donor-dashboard/
- any page with a donation form on it
Also, the following query strings (if your caching solution has a setting for them):
- give-embed=donor-dashboard
- giveDonationFormInIframe=1
- givewp-route
- give-listener=paypal-commerce
- give-listener=ipn
- give-listener=stripe
We also use two cookies: give_nl and wp-give_session_{random generated hashed code unique for each visitor} that should be excluded.
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.Your host or the caching plugin/solution you are using can help with that. Some of them may require what’s called a “wildcard” like /donations/* to capture all subdirectories under the /donations/ folder.
Some folks prefer to customize the URLs to their site pages, so you may find that your URLs don’t have the slugs mentioned above, even though they contain the same content. In cases like those, we recommend whitelisting the page, not just the slug, that way the pages with those essential pieces of information are still excluded from caching. This is especially important for URLs of pages with donation forms on them.
One helpful tip: Check in with your hosting provider. Most hosts have caching at the server level, and they will be able to adjust this for you. You can also temporarily disable caching on the site to confirm that the uncached site isn’t showing the problem. 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 provide any tips.
==============
Hope this helps.
Kind regards.
Hello @minnalina.
I’m not from the support team, but let me tell you that what PayPal told you is confusing and partially false.
PayPal, as any other payment gateway on the planet, applies transaction fees on EVERY transaction, donations included.
The only difference is that if you verify your status on PayPal as a Non Profit Organization, they may apply lower fees on your transactions marked as “donations”.
In your scenario, you were using a personal account to collect donations, and in that case fees don’t apply because it’s like if you are exchanging money between friends… It was like me sending you (not your organization, but you as an individual) 10€ via the PayPal app… But I’m not sure that’s 100% legally/fiscally correct 😅
So the real difference here is that you were using a PayPal personal account, where transacation fees are never applied, and now you are using a PayPal business account, where transaction fees are always applied.
Kind regards.
Ok. So we can uninstall the branch e switch back to the “core” plugin after the update?
Hello @delanthear.
I’m sorry but I still didn’t had the chance to try that solution.In my case though, the banner suddenly reappeared and that error vanished.
OK I’ll try. Should I install it, and keep it activated, alongside the standard one?
I’ve solved it by excluding those images from lazy-loading.
- This reply was modified 2 years, 3 months ago by mrprainx.
Thank you Alex. I was indeed replying that I’ve already excluded every relevant GiveWP URL from caching (I don’t use single view, I don’t use legacy confirmation and failed pages and my hosting doesn’t allow parameters in URL exclusions)

Here’s the datailed error I get in my inbox:
Versione di WordPress 6.4.3Tema attivo: Hello Elementor Child (versione 3.0.0.1705480004)Plugin corrente: Give - Donation Plugin (versione 3.4.2)Versione PHP 7.4.33Dettagli dell'errore====================Un errore di E_ERROR è stato causato nella linea 253 del file /mnt/customers/customers-3g3m02/e1b88557-faf4-4dc3-a08d-4f867dfd0408/wp-content/wp-content/plugins/give/src/PaymentGateways/PayPalCommerce/Repositories/PayPalAuth.php. Messaggio di errore: Uncaught UnexpectedValueException: PayPal Commerce: Error retrieving access token in /mnt/customers/customers-3g3m02/e1b88557-faf4-4dc3-a08d-4f867dfd0408/wp-content/wp-content/plugins/give/src/PaymentGateways/PayPalCommerce/Repositories/PayPalAuth.php:253Stack trace:#0 /mnt/customers/customers-3g3m02/e1b88557-faf4-4dc3-a08d-4f867dfd0408/wp-content/wp-content/plugins/give/src/PaymentGateways/PayPalCommerce/Repositories/PayPalAuth.php(81): Give\PaymentGateways\PayPalCommerce\Repositories\PayPalAuth->validateAccessToken()#1 /mnt/customers/customers-3g3m02/e1b88557-faf4-4dc3-a08d-4f867dfd0408/wp-content/wp-content/plugins/give/src/PaymentGateways/PayPalCommerce/onBoardingRedirectHandler.php(174): Give\PaymentGateways\PayPalCommerce\Repositories\PayPalAuth->getTokenFromClientCredentials()#2 /mnt/customers/customers-3g3m02/e1b88557-faf4-4dc3-a08d-4f867dfd0408/wp-content/wp-content/plugins/give/src/PaymentGateways/PayPalCommerce/onBoardingRedirectHandler.php(115): Give\PaymentGateways\PayPalCommerce\onBoardingReForum: Plugins
In reply to: [GiveWP - Donation Plugin and Fundraising Platform] Users and rolesHello Matheus.
Well I don’t have specific capabilities to point out. I was thinking about a generic “read only” capability, both for donations and donors.
As a workaround I was trying to use CSS to hide and/or disable all links related to editing and edits of donations and donors (as suggested in the guide) but they are, and rightfully so, waaaaaay too many.
What this feature would allow me to do is to grant a specific role a read only access to GiveWP data, collecting detailed info on received donations and related donors, without the possibility to edit/delete them.
Thank you.
- This reply was modified 2 years, 3 months ago by mrprainx.
Great. Thank you Daan.
Best regards.