JulianR
Forum Replies Created
-
Forum: Plugins
In reply to: [Complianz - GDPR/CCPA Cookie Consent] Settings for CAOS with ComplianzHi Jarno
FYI, I raised this with the CAOS developer and he has confirmed this is an issue with the CAOS plugin; Complianz is working as expected!
Best wishes
Julian
Forum: Plugins
In reply to: [CAOS | Host Google Analytics Locally] Minimal Analytics 4 and ComplianzHi Daan
Thanks for your swift response. Have a great break and best wishes for the New Year.
Julian
Forum: Plugins
In reply to: [Complianz - GDPR/CCPA Cookie Consent] Settings for CAOS with ComplianzHi Jarno
Thanks for your reply. Unfortunately, your suggestion made no difference but did prompt me to dig a bit deeper.
For Minimal Analytics, CAOS inserts two inline scripts in the <head> of the html of the page, preceded by the comment:
<!-- This site is using Minimal Analytics 4 brought to you by CAOS. --!>
As far as I can see, these scripts are always added regardless of the setting of the cmplz_statistics cookie. I can’t see a way to stop this in your Integrations Script Centre settings. Perhaps I should raise this with the CAOS developers?
Hi Matheus
With respect, I’m not sure that you realise the seriousness of this. Like @davidpotter, our website was down both front and back ends. The issue appears to arise if core Give updates first and FFM doesn’t. It causes a critical compile error. I was eventually able to log in as an admin using WordPress recovery mode and then install the new FFM I’d downloaded from the GiveWP website.
There must be a significant proportion of the user base who have been affected by this.
Can a check be added to the core Give update to determine if FFM is installed and either warn or force update of FFM first?
Hi Stephanie
I’m closing this as further testing has revealed a more serious problem with PayPal, for which I’ll submit a support ticket, which means we’ve reverted to redirects to the form pages rather than using a modal.
Cheers
Julian
Hi Stephanie
Thanks for getting back so quickly. Here’s my System Info:
Cheers
WordPress Environment Home URL: https://www.odysseus-unbound.org Site URL: https://www.odysseus-unbound.org WP Version: 6.2 WP Multisite: – WP Memory Limit: 768 MB WP Debug Mode: – WP Cron: – Language: en_GB Permalink Structure: /%postname%/ Show on Front: page Page on Front: Home (#2973) Page for Posts: Latest News (#248) Table Prefix Length: wp_ Table Prefix Length: 3 Table Prefix Status: Acceptable Admin AJAX: Accessible Registered Post Statuses: publish, future, draft, pending, private, trash, auto-draft, inherit, request-pending, request-confirmed, request-failed, request-completed, refunded, failed, revoked, cancelled, abandoned, processing, preapproval, give_subscription Server Environment Hosting Provider: DBH: localhost, SRV: www.odysseus-unbound.org TLS Connection: Connection uses TLS 1.3 TLS Connection: Probably Okay Server Info: Apache PHP Version: 7.4.33 PHP Post Max Size: 256 MB PHP Time Limit: 120 PHP Max Input Vars: 3000 PHP Max Upload Size: 256 MB cURL Version: 7.85.0, OpenSSL/3.0.8 SUHOSIN Installed: – MySQL Version: 5.7.39 Default Timezone is UTC: ✔</img> fsockopen/cURL: ✔</img> SoapClient: ✔</img> DOMDocument: ✔</img> gzip: ✔</img> GD Graphics Library: ✔</img> Multibyte String: ✔</img> Remote Post: ✔</img> Remote Get: ✔</img> GiveWP Configuration GiveWP Version: 2.26.0 GiveWP Cache: Enabled Database Updates: All DB Updates Completed. Database Updates: All database migrations completed. Database Tables: ✔</img> wp_give_donors✔</img> wp_give_donormeta✔</img> wp_give_comments✔</img> wp_give_commentmeta✔</img> wp_give_sessions✔</img> wp_give_formmeta✔</img> wp_give_sequential_ordering✔</img> wp_give_donationmeta✔</img> wp_give_revenue✔</img> wp_give_migrations✔</img> wp_give_log GiveWP Cache: Enabled GiveWP Cache: ✔</img>New Donation✔</img>Donation Receipt✔</img>Donation Processing Receipt✔</img>New Offline Donation✔</img>Offline Donation Instructions✔</img>New User Registration✔</img>User Registration Information❌</img>Donation Note❌</img>Email access✔</img>Renewal Receipt Email✔</img>Admin Renewal Receipt Email✔</img>Subscription Cancelled Email✔</img>Admin Subscription Cancelled Email✔</img>Subscription Completed Email✔</img>Subscription Reminder Email❌</img>Subscriptions Email Access✔</img>Subscription Payment Failed Email Upgraded From: 2.25.2 Test Mode: Disabled Currency Code: GBP Currency Position: Before Decimal Separator: . Thousands Separator: , Success Page: https://www.odysseus-unbound.org/support/donation-confirmation/ Failure Page: https://www.odysseus-unbound.org/support/donation-failed/ Donation History Page: https://www.odysseus-unbound.org/support/my-donations/ GiveWP Forms Slug: /donations/ Enabled Payment Gateways: Stripe - Credit Card, PayPal Donations, GoCardless, Offline Donation, Stripe - Apple Pay, Stripe - Google Pay Default Payment Gateway: Stripe - Credit Card PayPal IPN Notifications: IPN received for #6767 ( 8KR92974JP4028343 ) on 12/02/2022 at 11:55. Status VERIFIED Donor Email Access: Disabled Stripe Webhook Notifications: 01/04/2023 19:40 Active GiveWP Add-ons Give - Currency Switcher: ✔</img> Licensed – by GiveWP – 1.5.2 Give - Form Field Manager: ✔</img> Licensed – by GiveWP – 2.0.4 Give - Gift Aid: ✔</img> Licensed – by GiveWP – 1.4.2 Give - GoCardless Gateway: ✔</img> Licensed – by GiveWP – 1.3.8 Give - MailChimp: ✔</img> Licensed – by GiveWP – 1.5.0 Give - Manual Donations: ✔</img> Licensed – by GiveWP – 1.6.2 Give - PDF Receipts: ✔</img> Licensed – by GiveWP – 2.3.13 Give - Per Form Gateways: ✔</img> Licensed – by GiveWP – 1.0.2 Give - Recurring Donations: ✔</img> Licensed – by GiveWP – 2.4.0 Give - Stripe Gateway: ✔</img> Licensed – by GiveWP – 2.5.0 Give - Zapier: ✔</img> Licensed – by GiveWP – 1.4.1 Other Active Plugins Akismet Anti-Spam: by Automattic – 5.1 Backup Duplicator & Migration - WP STAGING: by WP-STAGING, WPStagingBackup – 2.13.0 Better Search Replace: by WP Engine – 1.4.2 Broken Link Checker: by WPMU DEV – 2.0.0 Code Snippets: by Code Snippets Pro – 3.3.0 Coming Soon Page, Maintenance Mode, Landing Pages & WordPress Website Builder by SeedProd: by SeedProd – 6.15.7 Complianz | GDPR/CCPA Cookie Consent: by Really Simple Plugins – 6.4.3 Easy Forms for Mailchimp: by YIKES, Inc. – 6.8.8 Enable Media Replace: by ShortPixel – 4.1.1 Enhanced Media Library: by wpUXsolutions – 2.8.9 GDPR Compliance for Mailchimp: by YIKES, Inc. – 1.3.7 Health Check & Troubleshooting: by The WordPress.org community – 1.6.0 Insert Pages: by Paul Ryan – 3.7.6 Kadence Blocks - PRO Extension: by Kadence WP – 1.7.28 Kadence Blocks – Gutenberg Blocks for Page Builder Features: by Kadence WP – 3.0.33 Kadence Simple Share: by Kadence WP – 1.2.6 Kadence Slider: by Kadence WP – 2.3.4 Kadence Widget Dock: by Kadence WP – 1.0.6 Loco Translate: by Tim Whitlock – 2.6.4 Login for Google Apps: by WPGlogin Team – 3.4.5 Members: by MemberPress – 3.2.4 Polylang: by WP SYNTEX – 3.3.3 Rank Math SEO: by Rank Math – 1.0.112 SiteGround Optimizer: by SiteGround – 7.3.1 UpdraftPlus - Backup/Restore: by UpdraftPlus.Com, DavidAnderson – 1.23.3 User Menus: by Code Atlantic – 1.3.1 Wordfence Security: by Wordfence – 7.9.2 WP-DraftsForFriends: by Lester 'GaMerZ' Chan – 1.0.2 Inactive Plugins SiteGround Security: by SiteGround – 1.4.1 Widget Logic: by WPChef – 5.10.4 Active MU Plugins Health Check Troubleshooting Mode: by – 1.8.1 WP STAGING Optimizer: by René Hermenau – 1.5.1 Theme Name: Ascend Premium Child Theme Version: 1.0 Author URL: https://www.odysseus-unbound.org/ Child Theme: Yes Parent Theme Name: Ascend - Premium Parent Theme Version: 1.9.25 Parent Theme Author URL: https://www.kadencewp.com/
Hi Matheus Just to add, the new PayPal donations gateway works fine on the same legacy form if floating labels are disabled or if the form is switched to multi-step. J
Hi Matheus No problem with the delay. But, as my original post said, I was asking about legacy forms in the first place, not the new multi-step forms. As I said, I had already worked out that I could manage floating labels on a per form basis but the settings tab for legacy form templates still offers the global option even though it is no longer available. My original point remains: if you enable floating labels on legacy forms (on a per form basis) it stops the New PayPal donations gateway from displaying the PayPal button. Chrome inspector confirms that the html generated when floating labels are enabled cannot be parsed by paypal-commerce.js as it is currently coded. Cheers Julian
Hi Ben
If it helps you debug this issue, I get exactly the same console error messages with my legacy form single form view on a test form for the new PayPal Donations gateway on my staging site.
It looks like the insertion of the PayPal button is failing as a result of this issue. I had previously reported the issue in this forum here: https://wordpress.org/support/topic/paypal-button-missing-2/
Possible Unhandled Promise Rejection: DOMException: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node. at s.value (https://www.odysseus-unbound.org/oustaging/wp-content/plugins/give/assets/dist/js/paypal-commerce.js?ver=2.9.1:18:31659) at s.value (https://www.odysseus-unbound.org/oustaging/wp-content/plugins/give/assets/dist/js/paypal-commerce.js?ver=2.9.1:18:31774) at s.value (https://www.odysseus-unbound.org/oustaging/wp-content/plugins/give/assets/dist/js/paypal-commerce.js?ver=2.9.1:18:13986) at n (https://www.odysseus-unbound.org/oustaging/wp-content/plugins/give/assets/dist/js/paypal-commerce.js?ver=2.9.1:18:36559) at https://www.odysseus-unbound.org/oustaging/wp-content/plugins/give/assets/dist/js/paypal-commerce.js?ver=2.9.1:18:37468 at https://www.odysseus-unbound.org/oustaging/wp-content/plugins/give/assets/dist/js/paypal-commerce.js?ver=2.9.1:1:3255 at https://www.odysseus-unbound.org/oustaging/wp-content/plugins/give/assets/dist/js/paypal-commerce.js?ver=2.9.1:18:6849 at p (https://www.odysseus-unbound.org/oustaging/wp-content/plugins/give/assets/dist/js/paypal-commerce.js?ver=2.9.1:18:6964) at s (https://www.odysseus-unbound.org/oustaging/wp-content/plugins/give/assets/dist/js/paypal-commerce.js?ver=2.9.1:18:6322) a._unhandledRejectionFn @ paypal-commerce.js?ver=2.9.1:formatted:408 (anonymous) @ paypal-commerce.js?ver=2.9.1:formatted:259 (anonymous) @ paypal-commerce.js?ver=2.9.1:formatted:760 p @ paypal-commerce.js?ver=2.9.1:formatted:774 s @ paypal-commerce.js?ver=2.9.1:formatted:721 postMessage (async) n @ paypal-commerce.js?ver=2.9.1:formatted:726 f.setImmediate @ paypal-commerce.js?ver=2.9.1:formatted:738 a._immediateFn @ paypal-commerce.js?ver=2.9.1:formatted:401 l @ paypal-commerce.js?ver=2.9.1:formatted:258 u @ paypal-commerce.js?ver=2.9.1:formatted:255 (anonymous) @ paypal-commerce.js?ver=2.9.1:formatted:218 (anonymous) @ paypal-commerce.js?ver=2.9.1:formatted:760 p @ paypal-commerce.js?ver=2.9.1:formatted:774 s @ paypal-commerce.js?ver=2.9.1:formatted:721 postMessage (async) n @ paypal-commerce.js?ver=2.9.1:formatted:726 f.setImmediate @ paypal-commerce.js?ver=2.9.1:formatted:738 a._immediateFn @ paypal-commerce.js?ver=2.9.1:formatted:401 s @ paypal-commerce.js?ver=2.9.1:formatted:211 a.then @ paypal-commerce.js?ver=2.9.1:formatted:309 (anonymous) @ paypal-commerce.js?ver=2.9.1:formatted:2314 (anonymous) @ give.js?ver=2.9.1:35 Promise.then (async) u @ give.js?ver=2.9.1:35 (anonymous) @ give.js?ver=2.9.1:45 dispatch @ jquery.js?ver=1.12.4-wp:3 r.handle @ jquery.js?ver=1.12.4-wp:3
I’m connected to the PayPal sandbox on the staging site as a test form using the multi-step template works fine. You’ll need a login for my staging site if you want to see it – let me know and I’ll DM login credentials to you.
Here’s the single view form page url: https://www.odysseus-unbound.org/oustaging/donations/test-new-paypal-legacy/
Cheers
Julian
Forum: Plugins
In reply to: [GiveWP - Donation Plugin and Fundraising Platform] PayPal button missingHi
I’m testing the new PayPal Donations integration and I have the same issue. Like Andy, the plugins are all up to date and I’ve cleared and disabled caching for the single donation form page. I’ve tried disabling all the Give Add-ons I’m using (eg. currency switcher) and changed the theme to WP 2020. Still no PayPal button. (Edit add) Like Andy, I’m using a legacy form.
What I do get is the
Credit Card Info
header with theSecure SSL encrypted payment
message beneath it. Below that is theOr pay with card
in a divider line that comes from the PayPal Donation gateway and then the associated credit card fields.I’m working on a staging site which will need a login if you want to take a look. If you do, let me know how I can get the login info to you.
Cheers
Julian
- This reply was modified 4 years, 4 months ago by JulianR.
Forum: Plugins
In reply to: [Easy Forms for Mailchimp] Unwanted tags added with formThanks Freddie
Creating new forms solved the problem. But in case it helps, I did find an instance of the tag (and a second, also deleted tag) in
wp_options
so maybe the code needs a tweak to make sure tags are properly deleted?Cheers
Julian
Forum: Plugins
In reply to: [Easy Forms for Mailchimp] Unwanted tags added with formHey guys
I have the exact same issue. I had initially set a tag to identify the form used for a newsletter sign-up and it has all worked perfectly for a couple of years – it’s a great plugin!
In a recent reworking of our systems we dropped the tag, deleting it in MC. It no longer shows in the Yikes form builder.
But the tag keeps being added to new subscribers, weird!
I’ve cleared the MC API cache multiple times, updated every form, cleared my host’s dynamic cache and cleared Cloudflare’s cache. No errors are logged in the debug log.
Should I disconnect and reconnect with MC? Any help on getting to the bottom of this much appreciated!
The form is here: https://www.odysseus-unbound.org/newsletter/
Cheers
Julian
And the solution is:
Replace $ with %24 in the url for the success page and it works!!
A long way round to an obvious solution – but a fun journey.
OK, if interested, an update. I’ve got my head around regex a bit and I’m almost certain it IS the
wp_sanitize_redirect()
function in WP. Careful inspection of the url I get to when redirected from the Give form reveals the dollar symbols have been stripped out.The url I tell Give to redirect to:
.../dispatch/dag_id$0_hash$39da10bf0100a8b755b74f3a27aa76d820aaf1f6/Default.aspx
The url I get to after the redirect:
.../dispatch/dag_id0_hash39da10bf0100a8b755b74f3a27aa76d820aaf1f6/Default.aspx
Line 1300 of the code here https://developer.wordpress.org/reference/functions/wp_sanitize_redirect/ is:
$location = preg_replace( '|[^a-z0-9-~+_.?#=&;,/:%!*\[\]()@]|i', '', $location );
which is clearly designed to only allow a limited set of characters in the redirect url.
Though oddly, (and my understanding of regex is VERY limited) this looks like a malformed regex. Should it not be:
$location = preg_replace( '/[^a-z0-9-~+_.?#=&;,\/:%!*\[\]()@]/i', '', $location );
Have I found a bug in the WP code or am I missing something in my ignorance?
J
Hi Ben
Thanks for pointing me in the right direction. As far as I can tell, the issue is not with GiveWP as the Offline Donation gateway I’m using simply calls the
give_send_to_success_page()
function when it processes the payment.The issue seems to be with the core WordPress code.
give_send_to_success_page()
(at line 139 in the same/include/forms/functions.php
file) calls the WP functionwp_redirect
(line 149). That in turn calls the WP functionwp_sanitize_redirect()
which uses a very complex regex which I can’t claim to understand and I suspect it is that which is somehow modifying the url I’m using – perhaps in the long hash segment of the url.So I’ve got to learn a lot about regex unless you or anyone in this forum can help further!
Cheers
Julian