woocommerce / woocommerce-paypal-payments

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

Empty fields and double orders #1556

Closed WannaWanga closed 1 year ago

WannaWanga commented 1 year ago

Describe the Bug

Since one week I am starting to receive WooCommerce orders paid with PayPal with NO name & address information in the order system. Sometimes even a double order and double payment: one WITHOUT name or shipping & billing information and one WITH the information. I need to manually send a refund from PayPal, because the refund function from WooCommerce doesn't work with these faulty orders. I had support from WooCommerce concerning this problem and after reviewing the log files, they concluded the problem is with the PayPal plugin.

To Reproduce

I have not managed to reproduce the problem, but I tried. I have tried to reproduce the problem by placing orders myself with a different PayPal account with various settings:

  1. PP Payment from the Checkout page and with reCaptcha plugin inactive
  2. PP Payment from the Checkout page and with reCaptcha plugin active
  3. PP Payment from the Cart page and with reCaptcha plugin active
  4. PP Payment from the Cart page and with reCaptcha plugin active and ordering with a different address from the PP address
  5. same as 4, but with different currency (EUR instead of USD)

Screenshots

Screenshot_1

Screenshot_2

Expected Behavior

when placing an order, all fields should be filled in.

Actual Behavior

Occassionaly, all information is missing in the WC fields and double orders are placed.

Environment

Screenshot_3

Additional Details

Log file of double order and one without content in order: LOG #25934 #25935.txt

System status ``` ` ### WordPress Environment ### WordPress address (URL): https://wannawanga.com Site address (URL): https://wannawanga.com WC Version: 7.9.0 REST API Version: ✔ 7.9.0 WC Blocks Version: ✔ 10.4.6 Action Scheduler Version: ✔ 3.6.1 Log Directory Writable: ✔ WP Version: 6.2.2 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ✔ Language: en_US External object cache: – ### Server Environment ### Server Info: Apache/2 PHP Version: 7.4.28 PHP Post Max Size: 128 MB PHP Time Limit: 120 PHP Max Input Vars: 10000 cURL Version: 7.78.0 OpenSSL/1.0.1e-fips SUHOSIN Installed: – MySQL Version: 5.5.5-10.3.27-MariaDB Max Upload Size: 128 MB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 7.9.0 WC Database Prefix: wp_ Total Database Size: 257.54MB Database Data Size: 215.03MB Database Index Size: 42.51MB wp_woocommerce_sessions: Data: 14.92MB + Index: 0.58MB + Engine MyISAM wp_woocommerce_api_keys: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_order_items: Data: 1.09MB + Index: 0.60MB + Engine MyISAM wp_woocommerce_order_itemmeta: Data: 7.01MB + Index: 5.42MB + Engine MyISAM wp_woocommerce_tax_rates: Data: 0.05MB + Index: 0.05MB + Engine MyISAM wp_woocommerce_tax_rate_locations: Data: 0.07MB + Index: 0.09MB + Engine MyISAM wp_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_payment_tokens: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_woocommerce_payment_tokenmeta: Data: 0.01MB + Index: 0.02MB + Engine MyISAM wp_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_actionscheduler_actions: Data: 0.09MB + Index: 0.06MB + Engine MyISAM wp_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_actionscheduler_logs: Data: 1.00MB + Index: 0.72MB + Engine MyISAM wp_berocket_termmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_bv_activities_store: Data: 0.23MB + Index: 0.01MB + Engine MyISAM wp_bv_fw_requests: Data: 0.29MB + Index: 0.02MB + Engine MyISAM wp_bv_ip_store: Data: 0.37MB + Index: 0.36MB + Engine MyISAM wp_bv_lp_requests: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wp_commentmeta: Data: 0.19MB + Index: 0.15MB + Engine MyISAM wp_comments: Data: 4.70MB + Index: 2.27MB + Engine MyISAM wp_defender_audit_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_defender_email_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_defender_lockout: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_defender_lockout_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_defender_scan: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_defender_scan_item: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_easywpsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_easywpsmtp_tasks_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_kento_pvc: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_kento_pvc_city: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_kento_pvc_info: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_options: Data: 135.77MB + Index: 11.31MB + Engine MyISAM wp_postmeta: Data: 38.20MB + Index: 15.79MB + Engine MyISAM wp_posts: Data: 5.15MB + Index: 1.16MB + Engine MyISAM wp_snippets: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_termmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_terms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_term_relationships: Data: 0.01MB + Index: 0.02MB + Engine MyISAM wp_term_taxonomy: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_tinvwl_analytics: Data: 0.05MB + Index: 0.05MB + Engine MyISAM wp_tinvwl_items: Data: 0.04MB + Index: 0.01MB + Engine MyISAM wp_tinvwl_lists: Data: 0.03MB + Index: 0.01MB + Engine MyISAM wp_usermeta: Data: 2.98MB + Index: 1.82MB + Engine MyISAM wp_users: Data: 0.22MB + Index: 0.19MB + Engine MyISAM wp_wcdpi_country: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wcdpi_page_format: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wcdpi_product_additional: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wcdpi_product_basic: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wcdpi_product_sales: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wcdpi_shipment: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wcdpi_shipment_attachment: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wcdpi_shipment_item: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wcdpi_t_app_service: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wcdpi_t_app_service_feature: Data: 0.08MB + Index: 0.00MB + Engine InnoDB wp_wcdpi_t_app_service_provider: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_notes: Data: 0.07MB + Index: 0.00MB + Engine MyISAM wp_wc_admin_note_actions: Data: 0.04MB + Index: 0.01MB + Engine MyISAM wp_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_customer_lookup: Data: 0.39MB + Index: 0.33MB + Engine MyISAM wp_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wc_order_product_lookup: Data: 1.06MB + Index: 0.94MB + Engine MyISAM wp_wc_order_stats: Data: 0.35MB + Index: 0.21MB + Engine MyISAM wp_wc_order_tax_lookup: Data: 0.04MB + Index: 0.05MB + Engine MyISAM wp_wc_product_attributes_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_product_download_directories: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wc_product_meta_lookup: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_wc_rate_limits: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wc_reserved_stock: Data: 0.26MB + Index: 0.11MB + Engine MyISAM wp_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wdr_order_discounts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wdr_order_item_discounts: Data: 0.01MB + Index: 0.02MB + Engine MyISAM wp_wdr_rules: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wpfm_backup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wt_iew_action_history: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wt_iew_mapping_template: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wusers_inputs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wzen_time_table: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_yoast_seo_links: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wp_yoast_seo_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM ### Post Type Counts ### amn_exact-metrics: 1 attachment: 664 br_labels: 1 custom_css: 1 customize_changeset: 5 lion_badge: 4 ml-slider: 3 nav_menu_item: 21 option-tree: 1 page: 15 popup_theme: 6 portfolio: 27 post: 1 product: 46 product_variation: 66 revision: 492 shop_coupon: 14 shop_order: 4153 shop_order_refund: 154 spucpt: 2 wp_global_styles: 1 wphb_minify_group: 7 wppopups: 4 wpsc_cart_orders: 2324 ### Security ### Secure connection (HTTPS): ✔ Hide errors from visitors: ✔ ### Active Plugins (28) ### WordPress Backup & Security Plugin - BlogVault: by Backup by BlogVault – 5.16 Code Snippets: by Code Snippets Pro – 3.4.2 DHL Shipping Germany for WooCommerce: by DHL – 3.5.2 Easy Table Rate Shipping for WooCommmerce: by wpWax – 1.3.0 Easy WP SMTP: by Easy WP SMTP – 2.1.2 Envato Market: by Envato – 2.0.10 Google Analytics Dashboard for WP (GADWP): by ExactMetrics – 7.18.1 Health Check & Troubleshooting: by The WordPress.org community – 1.6.0 Homepage Control: by WooThemes – 2.0.3 Jetpack: by Automattic – 12.3 My Custom Functions: by Space X-Chimp – 4.51 Product Labels For WooCommerce: by Lion Plugins – 1.0.0 Really Simple SSL: by Really Simple Plugins – 7.0.7 reCAPTCHA for WooCommerce: by Elliot Sowersby RelyWP – 1.3.1 Storefront Parallax Hero: by WooCommerce – 1.5.7 TI WooCommerce Wishlist: by TemplateInvaders – 2.7.4 UpdraftPlus - Backup/Restore: by UpdraftPlus.Com DavidAnderson – 1.23.7 Woo Discount Rules: by Flycart – 2.6.1 Extra product options For WooCommerce | Custom Product Addons and Fields: by ThemeHigh – 3.2.1 Advanced Order Export For WooCommerce: by AlgolPlus – 3.4.2 WooCommerce EU VAT Number: by WooCommerce – 2.8.5 WooCommerce Stripe Gateway: by WooCommerce – 7.4.1 CURCY - WooCommerce Multi Currency Premium: by VillaTheme – 2.2.5 WooCommerce PayPal Payments: by WooCommerce – 2.2.0 WooCommerce Pre-Orders: by WooCommerce – 2.0.3 WooCommerce Shipping & Tax: by WooCommerce – 2.3.1 WooCommerce: by Automattic – 7.9.0 WP Popups Lite: by timersys – 2.1.5.2 ### Inactive Plugins (1) ### Woo Store Vacation: by MyPreview – 1.9.1 ### Must Use Plugins (1) ### Health Check Troubleshooting Mode: by – 1.8.1 ### 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: – HPOS feature screen enabled: – HPOS feature enabled: – Order datastore: WC_Order_Data_Store_CPT HPOS data sync enabled: – ### WC Pages ### Shop base: #16041 - /shop/ Cart: #16043 - /cart/ Checkout: #16045 - /checkout/ My account: #16047 - /my-account/ Terms and conditions: ❌ Page not set ### Theme ### Name: Storefront Version: 4.4.1 Author URL: https://woocommerce.com/ Child Theme: ❌ – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme WooCommerce Support: ✔ ### Templates ### Overrides: – ### WooCommerce PayPal Payments ### Onboarded: ✔ Shop country code: NL 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: ✔ Tracking enabled: ✔ ### 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 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 product-variation-management settings async-product-editor-category-field Daily Cron: ✔ Next scheduled: 2023-07-30 10:28:45 +02:00 Options: ✔ Notes: 150 Onboarding: completed ### TI WooCommerce Wishlist Templates ### Overrides: – ### Action Scheduler ### Complete: 348 Oldest: 2023-06-28 19:43:24 +0200 Newest: 2023-07-29 15:50:16 +0200 Failed: 10 Oldest: 2023-02-14 22:41:54 +0100 Newest: 2023-07-26 10:54:22 +0200 Pending: 1 Oldest: 2023-07-29 20:20:50 +0200 Newest: 2023-07-29 20:20:50 +0200 ### Status report information ### Generated at: 2023-07-29 16:18:40 +02:00 ` ```
asherrard commented 1 year ago

Having this same issue as well with intermittent Paypal orders with no address data, first seen on 7-26. WordPress 6.2.2 & Woocommerce 7.9.0

iwtw-richb commented 1 year ago

Also now having this issue with payments via this plugin

setmysite commented 1 year ago

Also having this exact same issue.

SimBotBiz commented 1 year ago

Same issue here.

croix commented 1 year ago

same issue here, but also affecting USAEpay gateway payments on top of PayPal payments. Only received 2 successful orders since updating 21 hours ago, but received 60+ blank / duplicate / payment pending orders.

SydeKrystian commented 1 year ago

Hello @WannaWanga

I noticed that the problem you're experiencing has been reported before in this issue https://github.com/woocommerce/woocommerce-paypal-payments/issues/1522. You can follow the progress of the fix on that thread.

We have developed a fix package that should address the current issue. You can download this package from here.

After downloading the package, install it in your WordPress environment. This should overwrite the current problematic version and mitigate the issue. Alternatively, you can revert to the previous version of the plugin until a more permanent fix is implemented. You can download the previous version from here

Remember to test after installation to ensure the problem has been resolved. Should the problem persist or if you encounter any other issues, please don't hesitate to reach out to us by support request.

Kind Regards,

Krystian