woocommerce / woocommerce-paypal-payments

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

Checkout payment fails with error message, "Hosted Fields payment is already in progress." #1032

Closed BenjaminBarnett closed 1 year ago

BenjaminBarnett commented 2 years ago

Describe the Bug

Checkout payment fails with error message, "Hosted Fields payment is already in progress."

To Reproduce

  1. Go to https://funnytimes.com/freebie
  2. Click on purple 'purchase' button
  3. Proceed to checkout
  4. Error message appears at top of screen in red WooCommerce nag alert when attempting to complete payment.

Screenshots

n/a

Expected Behavior

Successful payment

Actual Behavior

Again, red admin nag, "Hosted Fields payment is already in progress."

Environment

Additional Details

System status ``` ` ### WordPress Environment ### WordPress address (URL): https://funnytimes.com Site address (URL): https://funnytimes.com WC Version: 7.1.0 REST API Version: ✔ 7.1.0 WC Blocks Version: ✔ 8.7.5 Action Scheduler Version: ✔ 3.5.2 Log Directory Writable: ✔ WP Version: 6.1.1 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ✔ Language: en_US External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.4.27 PHP Post Max Size: 8 MB PHP Time Limit: 120 PHP Max Input Vars: 1000 cURL Version: 7.81.0 OpenSSL/1.1.1l SUHOSIN Installed: – MySQL Version: 5.5.5-10.3.37-MariaDB Max Upload Size: 8 MB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 7.1.0 WC Database Prefix: lulZ_ Total Database Size: 554.76MB Database Data Size: 437.33MB Database Index Size: 117.43MB lulZ_woocommerce_sessions: Data: 1.36MB + Index: 0.03MB + Engine MyISAM lulZ_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.01MB + Engine MyISAM lulZ_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.01MB + Engine MyISAM lulZ_woocommerce_order_items: Data: 2.67MB + Index: 1.38MB + Engine MyISAM lulZ_woocommerce_order_itemmeta: Data: 19.26MB + Index: 12.11MB + Engine MyISAM lulZ_woocommerce_tax_rates: Data: 0.00MB + Index: 0.01MB + Engine MyISAM lulZ_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.01MB + Engine MyISAM lulZ_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_actionscheduler_actions: Data: 0.90MB + Index: 0.53MB + Engine MyISAM lulZ_actionscheduler_claims: Data: 0.03MB + Index: 0.07MB + Engine MyISAM lulZ_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM lulZ_actionscheduler_logs: Data: 0.99MB + Index: 0.54MB + Engine MyISAM lulZ_cli_cookie_scan: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_cli_cookie_scan_categories: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_cli_cookie_scan_cookies: Data: 0.00MB + Index: 0.01MB + Engine MyISAM lulZ_cli_cookie_scan_url: Data: 0.01MB + Index: 0.00MB + Engine MyISAM lulZ_cli_scripts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_commentmeta: Data: 0.42MB + Index: 0.30MB + Engine MyISAM lulZ_comments: Data: 15.45MB + Index: 5.83MB + Engine MyISAM lulZ_ecards_stats: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_fliphtml5: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_gf_draft_submissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_gf_entry: Data: 1.55MB + Index: 0.16MB + Engine MyISAM lulZ_gf_entry_meta: Data: 4.64MB + Index: 4.62MB + Engine MyISAM lulZ_gf_entry_notes: Data: 0.40MB + Index: 0.10MB + Engine MyISAM lulZ_gf_form: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_gf_form_meta: Data: 0.03MB + Index: 0.00MB + Engine MyISAM lulZ_gf_form_revisions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_gf_form_view: Data: 0.95MB + Index: 0.42MB + Engine MyISAM lulZ_gf_rest_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_itsec_bans: Data: 0.02MB + Index: 0.03MB + Engine MyISAM lulZ_itsec_dashboard_events: Data: 0.03MB + Index: 0.03MB + Engine MyISAM lulZ_itsec_distributed_storage: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_itsec_fingerprints: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_itsec_geolocation_cache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_itsec_lockouts: Data: 0.00MB + Index: 0.01MB + Engine MyISAM lulZ_itsec_logs: Data: 31.83MB + Index: 11.71MB + Engine MyISAM lulZ_itsec_mutexes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_itsec_opaque_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_itsec_temp: Data: 0.01MB + Index: 0.01MB + Engine MyISAM lulZ_itsec_user_groups: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_iwp_backup_status: Data: 0.02MB + Index: 0.00MB + Engine InnoDB lulZ_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_magicthumb_store: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_magictoolbox_store: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_mclean_refs: Data: 2.82MB + Index: 0.81MB + Engine MyISAM lulZ_mclean_scan: Data: 0.03MB + Index: 0.01MB + Engine MyISAM lulZ_options: Data: 103.59MB + Index: 6.01MB + Engine MyISAM lulZ_popover_ip_cache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_postmeta: Data: 138.64MB + Index: 36.70MB + Engine MyISAM lulZ_posts: Data: 37.22MB + Index: 5.33MB + Engine MyISAM lulZ_ps_exclude: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_ps_posts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_ps_product_sku: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_redirection_404: Data: 0.89MB + Index: 0.14MB + Engine MyISAM lulZ_redirection_groups: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_redirection_items: Data: 0.01MB + Index: 0.01MB + Engine MyISAM lulZ_redirection_logs: Data: 0.38MB + Index: 0.07MB + Engine MyISAM lulZ_rg_form: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_rg_form_meta: Data: 0.02MB + Index: 0.00MB + Engine MyISAM lulZ_rg_form_view: Data: 0.60MB + Index: 0.33MB + Engine MyISAM lulZ_rg_incomplete_submissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_rg_lead: Data: 0.70MB + Index: 0.08MB + Engine MyISAM lulZ_rg_lead_detail: Data: 2.03MB + Index: 2.67MB + Engine MyISAM lulZ_rg_lead_detail_long: Data: 0.17MB + Index: 0.01MB + Engine MyISAM lulZ_rg_lead_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_rg_lead_notes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_roster_slider: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_roster_slider_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_roster_slider_postmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_say_what_strings: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_sgpb_subscribers: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_sgpb_subscription_error_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_termmeta: Data: 0.15MB + Index: 0.12MB + Engine MyISAM lulZ_terms: Data: 0.47MB + Index: 0.86MB + Engine MyISAM lulZ_term_relationships: Data: 1.65MB + Index: 2.92MB + Engine MyISAM lulZ_term_taxonomy: Data: 0.66MB + Index: 0.60MB + Engine MyISAM lulZ_usermeta: Data: 8.16MB + Index: 4.25MB + Engine MyISAM lulZ_users: Data: 0.47MB + Index: 0.45MB + Engine MyISAM lulZ_wangguardcronjobs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_wangguardquestions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_wangguardreportqueue: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_wangguardsignupsstatus: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_wangguarduserstatus: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_wc_admin_notes: Data: 0.04MB + Index: 0.00MB + Engine MyISAM lulZ_wc_admin_note_actions: Data: 0.02MB + Index: 0.01MB + Engine MyISAM lulZ_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_wc_customer_lookup: Data: 0.86MB + Index: 0.75MB + Engine MyISAM lulZ_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_wc_order_product_lookup: Data: 1.41MB + Index: 1.10MB + Engine MyISAM lulZ_wc_order_stats: Data: 0.80MB + Index: 0.53MB + Engine MyISAM lulZ_wc_order_tax_lookup: Data: 0.01MB + Index: 0.01MB + Engine MyISAM lulZ_wc_product_attributes_lookup: Data: 0.01MB + Index: 0.01MB + Engine MyISAM lulZ_wc_product_download_directories: Data: 0.00MB + Index: 0.01MB + Engine MyISAM lulZ_wc_product_meta_lookup: Data: 0.04MB + Index: 0.07MB + Engine MyISAM lulZ_wc_rate_limits: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_wc_reserved_stock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM lulZ_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_woocommerce_shipping_table_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_woocommerce_shipping_zone_shipping_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_woof_query_cache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_wpgreet_cards: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_wpgreet_stats: Data: 0.01MB + Index: 0.00MB + Engine MyISAM lulZ_wpr_rocket_cache: Data: 0.00MB + Index: 0.01MB + Engine MyISAM lulZ_wpr_rucss_used_css: Data: 3.87MB + Index: 2.65MB + Engine MyISAM lulZ_wpsc_also_bought: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_wpsc_cart_contents: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_wpsc_checkout_forms: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_wpsc_claimed_stock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_wpsc_coupon_codes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_wpsc_currency_list: Data: 0.02MB + Index: 0.01MB + Engine MyISAM lulZ_wpsc_download_status: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_wpsc_meta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM lulZ_wpsc_product_rating: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_wpsc_purchase_logs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_wpsc_region_tax: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_wpsc_submited_form_data: Data: 0.00MB + Index: 0.00MB + Engine MyISAM lulZ_wp_folksonomy: Data: 0.11MB + Index: 0.00MB + Engine MyISAM lulZ_wp_rp_tags: Data: 4.55MB + Index: 2.27MB + Engine MyISAM lulZ_yoast_indexable: Data: 41.99MB + Index: 7.38MB + Engine MyISAM lulZ_yoast_indexable_hierarchy: Data: 0.86MB + Index: 1.91MB + Engine MyISAM lulZ_yoast_migrations: Data: 0.00MB + Index: 0.01MB + Engine MyISAM lulZ_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine MyISAM lulZ_yoast_seo_links: Data: 3.44MB + Index: 1.30MB + Engine MyISAM lulZ_yoast_seo_meta: Data: 0.04MB + Index: 0.04MB + Engine MyISAM ### Post Type Counts ### amn_mi-lite: 3 attachment: 28317 auto-thickbox-plus: 1 cookielawinfo: 6 custom_css: 13 customize_changeset: 2 feedback: 1105 gp_elements: 1 inc_popup: 11 itsec-dash-card: 5 itsec-dashboard: 1 jp_img_sitemap: 15 jp_img_sitemap_index: 1 jp_sitemap: 13 jp_sitemap_index: 1 jp_sitemap_master: 1 nav_menu_item: 58 order_shipment: 22 page: 56 popup: 21 popup_theme: 33 popupbuilder: 1 post: 25020 product: 266 product_variation: 360 pt_view: 8 revision: 634 safecss: 1 shop_coupon: 2 shop_order: 18824 shop_order_refund: 22 wp_global_styles: 2 ### Security ### Secure connection (HTTPS): ✔ Hide errors from visitors: ✔ ### Active Plugins (39) ### Akismet Anti-Spam: by Automattic – 5.0.1 Titan Anti-spam & Security: by CreativeMotion – 7.3.4 azurecurve Insult Generator: by azurecurve – 2.0.1 iThemes Security: by iThemes – 8.1.3 Classic Widgets: by WordPress Contributors – 0.3 Content Views: by Content Views – 2.5.0.1 CookieYes | GDPR Cookie Consent: by CookieYes – 3.0.6 Simple Custom CSS and JS: by SilkyPress.com – 3.41 Custom Fields Shortcodes: by ICanLocalize – 0.9 Yoast Duplicate Post: by Enrico Battocchi & Team Yoast – 4.5 GenerateBlocks: by Tom Usborne – 1.6.0 Site Kit by Google: by Google – 1.88.0 GP Premium: by Tom Usborne – 2.2.1 Gravity Forms: by Gravity Forms – 2.6.8 Jetpack: by Automattic – 11.5.1 Lightweight Accordion: by Andy Feliciotti – 1.5.14 Magic Answers: by Nicola Franchini – 2.1 Math Comment Spam Protection: by Michael Woehrer – 3.0 Magic Thumb: by Magic Toolbox – 6.8.21 Content Views Pro: by Content Views – 5.8.8.2 Random Content: by Endo Creative – 1.4.0 Really Simple SSL: by Really Simple Plugins – 6.0.11 Recent Posts Widget Extended: by Ga Satrya – 2.0.2 Redirection: by John Godley – 5.3.5 Say What?: by Ademti Software – 2.1.2 WordPress Shortcodes: by Synved – 1.6.36 Min Max Quantity & Step Control for WooCommerce: by CodeAstrology Team – 3.4 Advanced Order Export For WooCommerce: by AlgolPlus – 3.3.3 WooCommerce Bulk Pricing: by WP Lab – 1.9.6 Print Invoice & Delivery Notes for WooCommerce: by Tyche Softwares – 4.6.5 WooCommerce Google Analytics Integration: by WooCommerce – 1.5.17 WooCommerce PayPal Payments: by WooCommerce – 2.0.0 WooCommerce Table Rate Shipping: by WooCommerce – 3.1.0 WooCommerce: by Automattic – 7.1.0 Yoast SEO: by Team Yoast – 19.10 wp-greet: by Hans Matzen – 6.1 WP Rocket | No Cache for Admins: by WP Rocket Support Team – WP Rocket: by WP Media – 3.12.3.2 YITH Multiple Shipping Addresses for WooCommerce: by YITH – 1.18.0 ### Inactive Plugins (16) ### Bulk Delete: by Sudar – 6.0.2 Bulk Delete Posts by Title Addon: by Sudar – 1.0.0 Checkout Fields Manager for WooCommerce: by QuadLayers – 6.3.5 Classic Editor: by WordPress Contributors – 1.6.2 Cloudflare: by Cloudflare Inc. – 4.11.0 Comment Link Remove: by QuantumCloud – 2.2.6 Converter for Media: by Image Optimization Team by matt plugins – 5.5.0 Cornerstone: by Themeco – 6.1.4 Customizer Export/Import: by The Beaver Builder Team – 0.9.5 Image Watermark: by dFactory – 1.7.2 Popup Builder: by Sygnoos – 4.1.14 Products Filter for WooCommerce: by realmag777 – 2.2.9.4 WooCommerce Helper: by WooCommerce – 1.7.2 – Network enabled WooCommerce PayPal Payments Advanced Gateway: by WooCommerce – 1.24.12 WooSlider: by WooThemes – 2.5.0 WooSlider - WooCommerce Products Slideshow: by WooCommerce – 1.0.23 ### Dropin Plugins (2) ### advanced-cache.php: advanced-cache.php maintenance.php: maintenance.php ### Must Use Plugins (2) ### error-levels.php: by – p3-profiler.php: by – ### 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) 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 WooCommerce.com: ✔ Enforce Approved Product Download Directories: – ### WC Pages ### Shop base: ❌ Page not set Cart: #177 - /cart/ Checkout: #18 - /checkout/ My account: #178 - /my-account/ Terms and conditions: #96319 - /privacy-policy/ ### Theme ### Name: GeneratePress Child Version: 0.1 Author URL: https://tomusborne.com Child Theme: ✔ Parent Theme Name: GeneratePress Parent Theme Version: 3.2.4 Parent Theme Author URL: https://tomusborne.com WooCommerce Support: ✔ ### Templates ### Overrides: – ### 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: ✔ Vault enabled: – Logging enabled: – Reference Transactions: ✔ Used PayPal Checkout plugin: – Tracking enabled: ✔ ### Admin ### Enabled Features: activity-panels analytics coupons customer-effort-score-tracks experimental-products-task experimental-import-products-task experimental-fashion-sample-products shipping-smart-defaults shipping-setting-tour homescreen marketing multichannel-marketing mobile-app-banner navigation onboarding onboarding-tasks 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: minified-js new-product-management-experience settings Daily Cron: ✔ Next scheduled: 2022-11-28 19:55:10 -05:00 Options: ✔ Notes: 110 Onboarding: completed ### Action Scheduler ### Complete: 1,925 Oldest: 2022-11-28 12:42:46 -0500 Newest: 2022-11-28 12:20:21 -0500 Failed: 2,544 Oldest: 2021-02-23 12:25:08 -0500 Newest: 2021-02-23 12:25:08 -0500 Pending: 4 Oldest: -0001-11-29 19:03:58 -0456 Newest: 2022-11-28 18:41:47 -0500 ### Status report information ### Generated at: 2022-11-28 12:46:02 -05:00 ` ```
Ohmylord41 commented 2 years ago

Having the same issue - started yesterday.

image

gunship800 commented 2 years ago

Same issue with 2.0.0. Rollback and it works fine.

Ohmylord41 commented 2 years ago

Rolled back to 1.9.5. Hoping that fixed it. @gunship800, thanks for the suggestion!

Sirvijver commented 1 year ago

Hello @BenjaminBarnett This issue is known with us and we have a bug open for it. Reverting to 1.9.5 seems to currently be the only valid workaround. We did just release the 2.0.1 beta version, but we did not resolve this issue in this version yet. You could give it a try and test, but we don't expect it to have fixed this situation yet.

If you want to track our progress on this, please follow this issue. We will close this support request, since we don't use GitHub for support. If you want an individual support request, I advise you to open on wordpress.org or directly with our support desk via these instructions.

Kind regards, Joost