woocommerce / woocommerce-paypal-payments

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

PayPal Error on Customer end #910

Closed LLDigitalMedia closed 2 years ago

LLDigitalMedia commented 2 years ago

Describe the Bug

Unfortunately, I can't replicate the problem because it's coming from a customer and not from me. It is showing in the WP Armour Honeypot Anti-Spam dashboard as a spam submission. I do not see any settings in WP Armour regarding payment methods.

These are the messages from the customer: I go to the PayPal site after placing all the info in and it won’t go to PayPal…the card said it didn’t trust the site…It’s not even allowing me to continue shopping…I will delete it all and try it in the morning…

Environment

All versions of Wordpress, WooCommerce and plugins are the most recent (Up to date)

Additional Details

WP Armour Honeypot anti-spam could possibly be an issue. I cannot find anything in their support forums regarding PayPal but I am reaching out to their developer as well.

This is showing the WP Armour spam submissions: payment_method : ppcp-gateway woocommerce-process-checkout-nonce : 1ed6620d7e _wp_http_referer : /?wc-ajax=update_order_review

System status ``` ` ### WordPress Environment ### WordPress address (URL): https://www.justforthecraicstore.com Site address (URL): https://www.justforthecraicstore.com WC Version: 7.0.0 REST API Version: ✔ 7.0.0 WC Blocks Version: ✔ 8.5.1 Action Scheduler Version: ✔ 3.4.0 Log Directory Writable: ✔ WP Version: 6.0.2 WP Multisite: – WP Memory Limit: 1 GB WP Debug Mode: – WP Cron: ✔ Language: en_GB External object cache: – ### Server Environment ### Server Info: nginx/1.21.3 PHP Version: 8.0.12 PHP Post Max Size: 128 MB PHP Time Limit: 300 PHP Max Input Vars: 10000 cURL Version: 7.68.0 OpenSSL/1.1.1f SUHOSIN Installed: – MySQL Version: 5.5.5-10.5.12-MariaDB-1:10.5.12+maria~focal 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.0.0 WC Database Prefix: wp_d5z886_ Total Database Size: 252.72MB Database Data Size: 209.63MB Database Index Size: 43.09MB wp_d5z886_woocommerce_sessions: Data: 61.08MB + Index: 2.30MB + Engine InnoDB wp_d5z886_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_d5z886_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_d5z886_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_d5z886_woocommerce_order_items: Data: 0.06MB + Index: 0.02MB + Engine InnoDB wp_d5z886_woocommerce_order_itemmeta: Data: 0.33MB + Index: 0.20MB + Engine InnoDB wp_d5z886_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_d5z886_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_d5z886_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_d5z886_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_d5z886_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_d5z886_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_d5z886_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_d5z886_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_d5z886_actionscheduler_actions: Data: 8.52MB + Index: 6.97MB + Engine InnoDB wp_d5z886_actionscheduler_claims: Data: 0.05MB + Index: 0.02MB + Engine InnoDB wp_d5z886_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_d5z886_actionscheduler_logs: Data: 6.52MB + Index: 4.03MB + Engine InnoDB wp_d5z886_cli_cookie_scan: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_d5z886_cli_cookie_scan_categories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_d5z886_cli_cookie_scan_cookies: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_d5z886_cli_cookie_scan_url: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_d5z886_cli_scripts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_d5z886_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_d5z886_comments: Data: 0.20MB + Index: 0.09MB + Engine InnoDB wp_d5z886_corefortress_sliders: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_d5z886_corefortress_slider_themes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_d5z886_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_d5z886_gla_budget_recommendations: Data: 0.20MB + Index: 0.11MB + Engine InnoDB wp_d5z886_gla_merchant_issues: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_d5z886_gla_shipping_rates: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_d5z886_gla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_d5z886_grp_google_place: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_d5z886_grp_google_review: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_d5z886_grp_google_stats: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_d5z886_imagify_files: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_d5z886_imagify_folders: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_d5z886_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_d5z886_lws_wr_achieved_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_d5z886_lws_wr_historic: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_d5z886_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_d5z886_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_d5z886_options: Data: 7.50MB + Index: 0.55MB + Engine InnoDB wp_d5z886_postmeta: Data: 91.63MB + Index: 15.06MB + Engine InnoDB wp_d5z886_posts: Data: 10.52MB + Index: 3.69MB + Engine InnoDB wp_d5z886_po_plugins: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_d5z886_snippets: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_d5z886_termmeta: Data: 0.08MB + Index: 0.11MB + Engine InnoDB wp_d5z886_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_d5z886_term_relationships: Data: 0.25MB + Index: 0.14MB + Engine InnoDB wp_d5z886_term_taxonomy: Data: 0.05MB + Index: 0.03MB + Engine InnoDB wp_d5z886_tm_taskmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_d5z886_tm_tasks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_d5z886_usermeta: Data: 0.27MB + Index: 0.14MB + Engine InnoDB wp_d5z886_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_d5z886_wcu_modules: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_d5z886_wcu_modules_type: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_d5z886_wcu_usage_stat: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_d5z886_wc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine InnoDB wp_d5z886_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_d5z886_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_d5z886_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_d5z886_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_d5z886_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_d5z886_wc_order_product_lookup: Data: 0.05MB + Index: 0.06MB + Engine InnoDB wp_d5z886_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_d5z886_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_d5z886_wc_product_attributes_lookup: Data: 0.22MB + Index: 0.16MB + Engine InnoDB wp_d5z886_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_d5z886_wc_product_meta_lookup: Data: 1.52MB + Index: 1.05MB + Engine InnoDB wp_d5z886_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_d5z886_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_d5z886_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_d5z886_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_d5z886_wdr_order_discounts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_d5z886_wdr_order_item_discounts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_d5z886_wdr_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_d5z886_woo_shippment_provider: Data: 0.08MB + Index: 0.00MB + Engine InnoDB wp_d5z886_wpae_blocked_ip: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_d5z886_wpae_spammer_ip: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_d5z886_wpae_spam_data: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_d5z886_wpae_submission_id: Data: 0.06MB + Index: 0.00MB + Engine InnoDB wp_d5z886_wpfm_backup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_d5z886_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_d5z886_wpr_rocket_cache: Data: 0.22MB + Index: 0.25MB + Engine InnoDB wp_d5z886_wpr_rucss_used_css: Data: 0.09MB + Index: 0.16MB + Engine InnoDB wp_d5z886_wt_iew_action_history: Data: 2.52MB + Index: 0.00MB + Engine InnoDB wp_d5z886_wt_iew_cron: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_d5z886_wt_iew_ftp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_d5z886_wt_iew_mapping_template: Data: 0.08MB + Index: 0.00MB + Engine InnoDB wp_d5z886_xsg_sitemap_meta: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_d5z886_yith_wcwl: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_d5z886_yith_wcwl_lists: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_d5z886_yoast_indexable: Data: 14.52MB + Index: 5.84MB + Engine InnoDB wp_d5z886_yoast_indexable_hierarchy: Data: 1.52MB + Index: 0.67MB + Engine InnoDB wp_d5z886_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_d5z886_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_d5z886_yoast_seo_links: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_d5z886_yoast_seo_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ### Post Type Counts ### attachment: 8196 cookielawinfo: 8 custom_css: 2 efbl_skins: 7 elementor_library: 1 et_body_layout: 8 et_footer_layout: 1 et_header_layout: 6 et_pb_layout: 7 et_template: 9 et_theme_builder: 1 jp_img_sitemap: 3 jp_img_sitemap_index: 1 jp_sitemap: 1 jp_sitemap_master: 1 logoshowcase: 1 lws-wre-event: 4 lws-wre-pool: 1 mailpoet_page: 1 mc4wp-form: 3 mif_skins: 1 nav_menu_item: 36 oembed_cache: 11 page: 14 popup: 10 popup_theme: 8 post: 8 product: 979 product_variation: 5314 pscw-size-chart: 5 pys_event: 3 shop_coupon: 5 shop_order: 132 shop_order_refund: 8 sp_wcslider: 1 wccs_showcase: 1 wcps: 4 wcps_layout: 4 wp_global_styles: 2 wpcode: 2 wpforms: 5 ### Security ### Secure connection (HTTPS): ✔ Hide errors from visitors: ✔ ### Active Plugins (33) ### Afterpay Gateway for WooCommerce: by Afterpay – 3.4.3 FiboSearch - AJAX Search for WooCommerce: by FiboSearch Team – 1.20.0 Easy Auto SKU Generator for WooCommerce: by Dan Zakirov – 1.1.2 GTG Product Feed for Shopping: by GutenGeek – 1.2.2 Site Kit by Google: by Google – 1.85.0 WP Armour - Honeypot Anti Spam: by Dnesscarkey – 2.0.1 OMGF: by Daan from Daan.dev – 5.4.1 Imagify: by WP Rocket – 2.0 Mailchimp for WooCommerce: by Mailchimp – 2.7.5 SiteAlert (Formerly WP Health): by SiteAlert – 1.9.7 Printful Integration for WooCommerce: by Printful – 2.1.34 Printify Shipping Method: by Printify – 2.6 PW WooCommerce Bulk Edit: by Pimwick LLC – 2.106 Retainful - Abandoned Cart Recovery Emails and Next Order Coupons: by Retainful – 2.6.16 Side Cart WooCommerce: by XootiX – 2.1 String Locator: by InstaWP – 2.6.0 Advanced Shipment Tracking for WooCommerce: by zorem – 3.4.7 WBW Currency Switcher for WooCommerce: by woobewoo – 1.6.8 Woo Discount Rules: by Flycart – 2.4.5 WooCommerce Stripe Gateway: by WooCommerce – 6.8.0 WooCommerce Payments: by Automattic – 4.8.1 WooCommerce PayPal Payments: by WooCommerce – 1.9.4 WooCommerce Shipping & Tax: by WooCommerce – 1.26.3 WooCommerce: by Automattic – 7.0.0 Yoast SEO: by Team Yoast – 19.8 WP Armour Extended - Honeypot Anti Spam: by Dinesh Karki – 1.17 Asset CleanUp: Page Speed Booster: by Gabe Livan – 1.3.8.7 WP-DBManager: by Lester 'GaMerZ' Chan – 2.80.8 WP Headers And Footers: by WPBrigade – 2.0.0 WP Rocket: by WP Media – 3.12.1.1 WP Rollback: by GiveWP.com – 1.7.2 WPS Hide Login: by WPServeur NicolasKulka wpformation – 1.9.6 YITH WooCommerce Wishlist: by YITH – 3.14.0 ### Inactive Plugins (2) ### Code Snippets: by Code Snippets Pro – 3.2.1 Jetpack: by Automattic – 11.4 ### Dropin Plugins (1) ### advanced-cache.php: advanced-cache.php ### Must Use Plugins (1) ### Kinsta Must-use Plugins: by Kinsta Team – 2.4.8 ### 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) pw gift card (pw-gift-card) simple (simple) subscription (subscription) variable (variable) variable subscription (variable-subscription) 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: #19 - /shop/ Basket: #20 - /basket/ Checkout: ❌ Page does not contain the [woocommerce_checkout] shortcode or the woocommerce/checkout block. My account: #22 - /my-account/ Terms and conditions: ❌ Page not set ### Theme ### Name: Divi Version: 4.18.0 Author URL: http://www.elegantthemes.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: US WooCommerce currency supported: ✔ PayPal 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 experimental-product-tour 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-10-13 19:35:40 +00:00 Options: ✔ Notes: 72 Onboarding: completed ### WooCommerce Payments ### Version: 4.8.1 Connected to WPCOM: Yes Blog ID: 173166060 Account ID: acct_1IsWUG2HqikQMf41 ### Action Scheduler ### Canceled: 24 Oldest: 2022-10-03 19:09:33 +0000 Newest: 2022-10-03 23:21:28 +0000 Complete: 22,004 Oldest: 2022-09-13 03:58:40 +0000 Newest: 2022-10-13 04:51:01 +0000 Failed: 993 Oldest: 2021-11-24 23:07:08 +0000 Newest: 2022-10-03 02:14:40 +0000 Pending: 5 Oldest: 2022-10-13 07:28:40 +0000 Newest: 2022-10-16 16:45:33 +0000 ### Status report information ### Generated at: 2022-10-13 04:57:41 +00:00 ` ```
femiyb commented 2 years ago

@LLDigitalMedia It might be difficult to give a solution to this issue without enough information if we can't replicate it.

This seems to be an isolated issue. Does this happen for more users or just this user? You can ask the user for more information that might help to replicate the issue.

If you are able to replicate this and you suspect this is a conflict issue, I suggest you perform a full conflict test to rule out eventual issues with the theme or a different plugin. We recommend temporarily activating the default theme Storefront and disabling all other plugins except for WooCommerce and PayPal Payments to see if the behavior persists.

Here's a guide that explains the steps in more detail: How to test for conflicts

For further assistance, please get in touch with the support team. Thanks!

LLDigitalMedia commented 2 years ago

Hello Femi,

Thank you for getting back to me. I have confirmed it is the WP Armour plugin that was causing the issue. After disabling the plugin and clearing the cache, I asked the customer to try again and she was successful. I am working with their developer to find an option to not include PayPal in their anti-spam system.

I am going to work on the ability to replicate the problem via sandbox testing. I had tried this a few years ago but I was an absolute beginner to all of this and had no idea what I was doing so it didn't work. I've since gained much knowledge through dev courses and experience so I will give it another go.

I would like to do the testing in a staging environment, but I don't know if that is possible due to the API's. Can PayPal be tested in the staging environment? I love and prefer PayPal as a payment method, but I'm a bit of an idiot on the development side of it still.

Thank you again, Liza

On Fri, Oct 14, 2022 at 2:50 AM Femi YB @.***> wrote:

@LLDigitalMedia https://github.com/LLDigitalMedia It might be difficult to give a solution to this issue without enough information if we can't replicate it.

This seems to be an isolated issue. Does this happen for more users or just this user? You can ask the user for more information that might help to replicate the issue.

If you are able to replicate this and you suspect this is a conflict issue, I suggest you perform a full conflict test to rule out eventual issues with the theme or a different plugin. We recommend temporarily activating the default theme Storefront https://wordpress.org/themes/storefront/ and disabling all other plugins except for WooCommerce and PayPal Payments to see if the behavior persists.

Here's a guide that explains the steps in more detail: How to test for conflicts https://woocommerce.com/document/how-to-test-for-conflicts/

For further assistance, please get in touch with the support team https://woocommerce.com/document/woocommerce-paypal-payments/#get-help. Thanks!

— Reply to this email directly, view it on GitHub https://github.com/woocommerce/woocommerce-paypal-payments/issues/910#issuecomment-1278769937, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZIWYUS5QRSSH2XDZC2JODTWDEUFNANCNFSM6AAAAAARD4PUGM . You are receiving this because you were mentioned.Message ID: @.***>

-- Liza Lake Duffy Full Stack Web Developer and Designer of The Craic www.lldigitalmedia.com