Currency Switcher Add-on v1.3.3 JavaScript Error
-
Hi Give Currency Switcher Add-on authors,
FYI:
The JS method ‘getSupportedCurrencies’ from give-currency-switcher-frontend.(min.)js https://pastebin.com/0FfC3KwT produces an error https://pastebin.com/7MBWFA0U.
My thought is that this is due to give_cs_json_obj being set to {“form_xxx”:false} if the Currency Switcher is disabled on a per form bases and therefore
Object.keys( supported_gateway_list ).forEach( function( key, value )currently throws the error.——- Edited System Info Below —–
### WordPress Environment ###
WP Version: 5.2.2
WP Multisite: –
WP Memory Limit: 512 MB
WP Debug Mode: –
WP Cron: ✔### Give Configuration ###
Give Version: 2.5.4
Give Cache: Enabled
Database Updates: All DB Updates Completed.
Database Tables: ✔ {removed}_give_donors – 1.0✔ {removed}_give_donormeta – 1.0✔ {removed}_give_comments – 1.0✔ {removed}_give_commentmeta – 1.0✔ {removed}_give_sessions – 1.0✔ {removed}_give_logs – 1.0✔ {removed}_give_logmeta – 1.0✔ {removed}_give_formmeta – 1.0✔ {removed}_give_sequential_ordering – 1.0✔ {removed}_give_donationmeta – 1.0
Give Cache: Enabled
Give Cache: ✔New Donation✔Donation Receipt❌New Offline Donation❌Offline Donation Instructions✔New User Registration✔User Registration Information✔Donation Note✔Email access✔Renewal Receipt Email❌Renewal Receipt Email✔Subscription Cancelled Email❌Subscription Cancelled Email❌Subscription Completed Email❌Subscription Reminder Email✔Subscriptions Email Access✔Subscription Payment Failed Email
Upgraded From: 2.5.0
Test Mode: Disabled
Currency Code: GBP
Currency Position: Before
Decimal Separator: .
Thousands Separator: ,
Give Forms Slug: /donations/
Enabled Payment Gateways: PayPal Standard
Default Payment Gateway: PayPal Standard
Donor Email Access: Enabled
Stripe Webhook Notifications: N/A### Active Give Add-ons ###
Give – Currency Switcher: ✔ Licensed – by GiveWP – 1.3.3
Give – Form Field Manager: ✔ Licensed – by GiveWP – 1.4.3
Give – Gift Aid: ✔ Licensed – by GiveWP – 1.2.3
Give – PayPal Pro Gateway: ✔ Licensed – by GiveWP – 1.2.2
Give – Per Form Gateways: ✔ Licensed – by GiveWP – 1.0.2
Give – Recurring Donations: ✔ Licensed – by GiveWP – 1.9.2
Give – Tributes: ✔ Licensed – by GiveWP – 1.5.4Thanks
Martins
The topic ‘Currency Switcher Add-on v1.3.3 JavaScript Error’ is closed to new replies.