woocommerce / woocommerce-paypal-payments

https://wordpress.org/plugins/woocommerce-paypal-payments/
GNU General Public License v2.0
62 stars 48 forks source link

Saving Pay Later settings don't stick #2166

Closed jitman closed 7 months ago

jitman commented 7 months ago

Describe the Bug

I'm attempting to disable the Pay Later banner on the Home page. I simply uncheck the box next to 'Home' and click the blue 'Save Changes' button. Upon page reload, the Home checkbox is still checked. The banner still appears on the home page.

To Reproduce

Screenshots

Screenshot 2024-04-17 at 9 30 48 AM

Expected Behavior

I expect the button to maintain the status I've chosen after saving changes.

Actual Behavior

The box is checked even after saving as unchecked.

Environment

Additional Details

System status ``` ### WordPress Environment ### WordPress address (URL): https://.com Site address (URL): https://.com WC Version: 8.6.1 REST API Version: ✔ 8.6.1 WC Blocks Version: ✔ 11.8.0-dev Action Scheduler Version: ✔ 3.7.1 Log Directory Writable: ✔ WP Version: 6.4.4 WP Multisite: – WP Memory Limit: 512 MB WP Debug Mode: – WP Cron: ✔ Language: en_US External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.4.33 PHP Post Max Size: 64 MB PHP Time Limit: 180 PHP Max Input Vars: 1000 cURL Version: 8.7.1 OpenSSL/1.1.1w SUHOSIN Installed: – MySQL Version: 5.5.5-10.6.17-MariaDB-log Max Upload Size: 64 MB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 8.6.1 WC Database Prefix: wp_ Total Database Size: 4430.58MB Database Data Size: 2543.23MB Database Index Size: 1887.35MB wp_woocommerce_sessions: Data: 1.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_order_items: Data: 18.55MB + Index: 12.03MB + Engine InnoDB wp_woocommerce_order_itemmeta: Data: 255.80MB + Index: 381.31MB + Engine InnoDB wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_payment_tokens: Data: 0.08MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_payment_tokenmeta: Data: 0.23MB + Index: 0.28MB + Engine InnoDB wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB consignment_data: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_actionscheduler_actions: Data: 3.02MB + Index: 3.66MB + Engine InnoDB wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_logs: Data: 3.02MB + Index: 3.03MB + Engine InnoDB wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Data: 62.58MB + Index: 40.09MB + Engine InnoDB wp_easywpsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_easywpsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailster_actions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_mailster_action_bounces: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_mailster_action_clicks: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_mailster_action_errors: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_mailster_action_opens: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_mailster_action_sent: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_mailster_action_unsubs: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_mailster_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mailster_forms_lists: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailster_forms_tags: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailster_form_actions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mailster_form_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailster_links: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mailster_lists: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailster_lists_subscribers: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailster_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mailster_queue: Data: 0.06MB + Index: 0.19MB + Engine InnoDB wp_mailster_subscribers: Data: 0.05MB + Index: 0.08MB + Engine InnoDB wp_mailster_subscriber_fields: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_mailster_subscriber_meta: Data: 0.06MB + Index: 0.09MB + Engine InnoDB wp_mailster_tags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailster_tags_subscribers: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailster_workflows: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_ms_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_snippets: Data: 0.11MB + Index: 0.06MB + Engine InnoDB wp_termmeta: Data: 0.08MB + Index: 0.11MB + Engine InnoDB wp_terms: Data: 0.06MB + Index: 0.11MB + Engine InnoDB wp_term_relationships: Data: 5.30MB + Index: 6.25MB + Engine InnoDB wp_term_taxonomy: Data: 0.06MB + Index: 0.16MB + Engine InnoDB wp_usermeta: Data: 190.72MB + Index: 280.09MB + Engine InnoDB wp_users: Data: 13.52MB + Index: 9.55MB + Engine InnoDB wp_wcpdf_invoice_number: Data: 1.52MB + Index: 0.00MB + Engine InnoDB wp_wcpdf_packing_slip_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_notes: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_customer_lookup: Data: 3.52MB + Index: 2.92MB + Engine InnoDB wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_orders: Data: 19.55MB + Index: 23.61MB + Engine InnoDB wp_wc_orders_meta: Data: 84.63MB + Index: 175.92MB + Engine InnoDB wp_wc_order_addresses: Data: 14.55MB + Index: 19.06MB + Engine InnoDB wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_operational_data: Data: 11.52MB + Index: 6.03MB + Engine InnoDB wp_wc_order_product_lookup: Data: 15.55MB + Index: 13.06MB + Engine InnoDB wp_wc_order_stats: Data: 13.52MB + Index: 6.55MB + Engine InnoDB wp_wc_order_tax_lookup: Data: 2.52MB + Index: 3.03MB + Engine InnoDB wp_wc_product_attributes_lookup: Data: 6.52MB + Index: 6.42MB + Engine InnoDB wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_product_meta_lookup: Data: 3.52MB + Index: 4.97MB + Engine InnoDB wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_reserved_stock: Data: 0.08MB + Index: 0.00MB + Engine InnoDB wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfblockediplog: Data: 2.02MB + Index: 0.00MB + Engine InnoDB wp_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wfconfig: Data: 2.27MB + Index: 0.02MB + Engine InnoDB wp_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wffilemods: Data: 7.52MB + Index: 0.00MB + Engine InnoDB wp_wfhits: Data: 3.02MB + Index: 1.33MB + Engine InnoDB wp_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wfknownfilelist: Data: 3.52MB + Index: 0.00MB + Engine InnoDB wp_wflivetraffichuman: Data: 0.06MB + Index: 0.06MB + Engine InnoDB wp_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wflogins: Data: 2.02MB + Index: 0.42MB + Engine InnoDB wp_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfls_role_counts: Data: 0.00MB + Index: 0.00MB + Engine MEMORY wp_wfls_settings: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfnotifications: Data: 0.09MB + Index: 0.00MB + Engine InnoDB wp_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wfreversecache: Data: 0.14MB + Index: 0.00MB + Engine InnoDB wp_wfsecurityevents: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wfstatus: Data: 0.28MB + Index: 0.14MB + Engine InnoDB wp_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfwaffailures: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_exported_csv_items: Data: 1.52MB + Index: 0.05MB + Engine InnoDB wp_yoast_indexable: Data: 30.56MB + Index: 8.58MB + Engine InnoDB wp_yoast_indexable_hierarchy: Data: 0.06MB + Index: 0.06MB + Engine InnoDB wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_yoast_seo_links: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp_yoast_seo_meta: Data: 0.34MB + Index: 0.00MB + Engine InnoDB ### Post Type Counts ### attachment: 36758 custom_css: 3 et_pb_layout: 10 et_template: 3 et_theme_builder: 1 layout: 3 locations: 27 nav_menu_item: 63 newsletter: 3 page: 43 post: 53 product: 9128 revision: 693 search-filter-widget: 1 shop_order: 64122 shop_order_refund: 205 ### Security ### Secure connection (HTTPS): ✔ Hide errors from visitors: ✔ ### Active Plugins (43) ### Classic Editor: by WordPress Contributors – 1.6.3 Code Snippets: by Code Snippets Pro – 3.6.4 Divi Product Carousel: by DiviGear – 2.0.2 Easy WP SMTP: by Easy WP SMTP – 2.3.0 Enhanced Media Library: by wpUXsolutions – 2.8.9 Force Regenerate Thumbnails: by Exactly WWW – 2.1.3 Git Updater: by Andy Fragen – 12.4.0 Mailster - Email Newsletter Plugin for WordPress (Premium): by EverPress – 4.0.8 reCaptcha for WooCommerce: by I Thirteen Web Solution – 2.50 SKU Generator for WooCommerce Pro: by Algoritmika Ltd – 1.2.0 Widget Importer & Exporter: by ChurchThemes.com – 1.6.1 WooCommerce Cost of Goods: by SkyVerge – 2.13.1 WooCommerce Elavon Converge Gateway: by SkyVerge – 2.14.0 WooCommerce PayPal Payments: by WooCommerce – 2.6.1 PDF Invoices & Packing Slips for WooCommerce: by WP Overnight – 3.8.0 WooCommerce Sequential Order Numbers Pro: by SkyVerge – 1.21.2 WooCommerce: by Automattic – 8.6.1 (update to version 8.7.0 is available) Wordfence Security: by Wordfence – 7.11.5 WordPress Importer: by wordpressdotorg – 0.8.2 Export WordPress Menus: by Tyche Softwares – 1.2 WP-Sweep Fix: by tim russell – 20180505.1 WP-Sweep: by Lester 'GaMerZ' Chan – 1.1.8 ### Inactive Plugins (4) ### Query Monitor: by John Blackbourn – 3.15.0 WP Crontrol: by John Blackbourn – 1.16.2 XML Sitemap Generator for Google: by Auctollo – 4.1.19 Yoast SEO: by Team Yoast – 22.4 ### Must Use Plugins (1) ### ET Support Center :: Must-Use Plugins Autoloader: by Elegant Themes – ### Settings ### API Enabled: – Force SSL: – Currency: USD ($) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude_from_catalog (exclude_from_catalog) exclude_from_search (exclude_from_search) exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to Woo.com: ✔ Enforce Approved Product Download Directories: – HPOS feature screen enabled: – HPOS feature enabled: – Order datastore: WC_Order_Data_Store_CPT HPOS data sync enabled: ✔ ### WC Pages ### Shop base: #8 - /shop/ Cart: #9 - /cart/ Checkout: #10 - /checkout/ My account: #11 - /my-account/ Terms and conditions: #685 - /terms/ ### Theme ### Name: Version: 20240318.1 (update to version 20240405.1 is available) Author URL: Child Theme: ✔ Parent Theme Name: Extra Parent Theme Version: 4.24.3 Parent Theme Author URL: http://www.elegantthemes.com WooCommerce Support: ✔ ### Templates ### Overrides: /woocommerce/cart/cart-shipping.php woocommerce/emails/customer-reset-password.php /woocommerce/emails/plain/customer-reset-password.php /woocommerce/loop/no-products-found.php ### Elavon Converge Credit Card ### Environment: Production Tokenization Enabled: ✔ Debug Mode: Off ### WooCommerce PayPal Payments ### Onboarded: ✔ Shop country code: US WooCommerce currency supported: ✔ Advanced Card Processing available in country: ✔ Pay Later messaging available in country: ✔ Webhook status: ✔ PayPal Vault enabled: – ACDC Vault enabled: – Logging enabled: – Reference Transactions: ✔ Used PayPal Checkout plugin: ✔ Subscriptions Mode: Disabled ### Admin ### Enabled Features: activity-panels analytics product-block-editor coupons core-profiler customer-effort-score-tracks import-products-task experimental-fashion-sample-products shipping-smart-defaults shipping-setting-tour homescreen marketing mobile-app-banner navigation onboarding onboarding-tasks product-variation-management product-virtual-downloadable product-external-affiliate product-grouped product-linked remote-inbox-notifications remote-free-extensions payment-gateway-suggestions shipping-label-banner subscriptions store-alerts transient-notices woo-mobile-welcome wc-pay-promotion wc-pay-welcome-page Disabled Features: customize-store minified-js new-product-management-experience product-pre-publish-modal settings async-product-editor-category-field Daily Cron: ✔ Next scheduled: 2024-04-17 20:02:29 -07:00 Options: ✔ Notes: 2 Onboarding: completed ### Action Scheduler ### Complete: 8,170 Oldest: 2024-03-17 09:40:08 -0700 Newest: 2024-04-17 09:29:46 -0700 Failed: 66 Oldest: 2023-09-14 15:49:27 -0700 Newest: 2024-02-19 12:11:30 -0800 Pending: 4 Oldest: 2024-04-17 09:31:05 -0700 Newest: 2024-04-17 19:40:01 -0700 ### Status report information ### Generated at: 2024-04-17 09:31:25 -07:00 ```
SydeKrystian commented 7 months ago

Hello @jitman

This might be related to the hosting related issues. You can try increasing this number if the Pay Later messaging settings don’t save for you: https://github.com/woocommerce/woocommerce-paypal-payments/blob/7f384e532c4f4e6fb5[…]pcp-paylater-configurator/resources/js/paylater-configurator.js e.g. 2000

For a prompt and detailed response, we kindly ask that you reach out directly to our support team.

When you contact our support team, please include a copy of your WooComnmerce system report. This will help us get to the bottom of your issue more quickly. Additionally, it would be beneficial if you could provide a more detailed description of the problem, as the information shared here is a bit ambiguous.

We'll be closing this GitHub issue for now. However, once you reach out to our support team, rest assured they'll be ready to assist you with your concerns. Thank you for your understanding!

Kind regards, Krystian