ERROR Failed to retrieve stored webhook data.
-
Hello,
We can receive the order from customer, however, there are alway error:
<span style=”background-color: rgb(238, 238, 238); color: rgb(60, 67, 74); font-family: monospace; font-size: 13px;”>2023-12-10T12:52:41+00:00 ERROR Failed to retrieve stored webhook data.</span>
Here is our setting:
-
Hello @alexliii
Thank you for reaching out to us, we are here to help.
The webhooks may not be adequately registered,
To make sure you are subscribed to the latest webhooks, please enable Logging in the plugin settings and then visit the Webhooks Status section.First, click on?Resubscribe,?and after the page is reloaded,?Simulate?to verify that the webhooks are received.
It may take a few seconds until a confirmation appears. If an error popup is displayed after trying to simulate, then we would be interested in a copy of your latest plugin log file, which you can access from here:
WooCommerce > Status > Logs > select “woocommerce-paypal-payments-[…]”?in the dropdown and click on?View. To share the logs you can open a ticket with our service desk. Here’s how you can request support:?Request Support. Please make sure to include the URL of this thread in your ticket for reference.Looking forward to your feedback.
Regards,
Krystian
- This reply was modified 11 months, 3 weeks ago by Krystian from Syde.
Hello,
Thanks for reply.
Before Resubscribe, there is Simulate button.
After Resubscribe, Simulate button show up:
after Simulate, it show the following log on Woocomerce status-log:
2023-12-11T10:30:12+00:00 DEBUG Webhook WH-COC11055RA711503B-4YM959094A144403T received of type CHECKOUT.ORDER.APPROVED and by resource “checkout-order” 2023-12-11T10:30:12+00:00 INFO Received simulated webhook. 2023-12-11T10:31:53+00:00 DEBUG POST https://api-m.paypal.com/v1/oauth2/token?grant_type=client_credentials Response Debug ID: b889353c86be0 Response: Array ( [code] => 200 [message] => OK )
Is that right?
But, there is log of Sandbox related:
2023-12-11T10:29:53+00:00 DEBUG Loaded onbording URL from cache: sandbox-ppcp 2023-12-11T10:29:53+00:00 DEBUG Loaded onbording URL from cache: sandbox-express_checkout 2023-12-11T10:29:54+00:00 DEBUG GET https://api-m.paypal.com/v1/notifications/webhooks Response Debug ID: a8fc21109a52c Response: Array ( [code] => 200 [message] => OK )
Here is screenshot:
We did not enabled or tried Sandbox, what is that Sandbox log mean please? is there potential issue?
Thanks
Hello?@alexliii
From the logs and screenshots you’ve provided, it seems that everything is in place and functioning properly. The key point to focus on is whether the orders are processing correctly through your WC store. If orders are being completed without issues, there is no need to worry.
Regarding the log entries that mention “Sandbox”, these are typically normal and not a cause for concern. This check is done every time to stimulate the sandbox API connection.However, if you do encounter any issues with order processing please don’t hesitate to contact us for further assistance.
Kind Regards,
Krystian
Hello,
Everyday, there always show ” 100?new errors found” PayPal Developer:
It is 403:
Here is our setting on Woocommerce, Apple and GOogle pay not enabled:
So, are you sure it will work even if there are 403 Errors?
Thanks
Hello?@alexliii
Regarding the messages you’re seeing on the PayPal Developer site, it’s important to note that the “ERROR Failed to retrieve stored webhook data” is not directly related to the 403 (billing agreement calls). As discussed in our previous conversation these API queries are from a different source.
However, I would recommend checking if the problem persists when all other plugins are disabled.
In that same thread, I also inquired whether the issue continues after disabling plugins responsible for caching and minification. It appears that the transient might be called too frequently, which is not normal, but this issue is not related to the logs from that thread.
Regarding Apple Pay, the information is quite straightforward. As you can see in our documentation (https://woo.com/document/woocommerce-paypal-payments/#apple-pay), at the moment, Apple Pay is limited to only four countries: Canada, Italy, the United Kingdom, and the United States. I suspect that you might be operating in a different country, which may explain why Apple and Google Pay are not available to you.
Please let us know if you have any more questions or if there’s anything else we can assist you with.
Kind Regards,
Krystian
Hello @inpsydekrystian,
Thanks so much for your reply.
However, there are so many errors or bugs with this plugin.
Firstly, I would like to let you know I tried to create a subsite on our multisite with storefront theme. and here is the plugins that are activated: https://prnt.sc/fbhiWPlQqcah
Then, tried to onboard and check if there the 403 Error will persists. But, before that, I found other issues:
1# On subsite, there is error like this:
2023-12-12T15:37:36+00:00 CRITICAL Uncaught TypeError: WooCommerce\PayPalCommerce\WcGateway\Helper\SettingsStatus::is_smart_button_enabled_for_location(): Argument #1 ($location) must be of type string, null given, called in /var/www/mysite.com/htdocs/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-blocks/src/PayPalPaymentMethod.php on line 239 and defined in /var/www/mysite.com/htdocs/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-wc-gateway/src/Helper/SettingsStatus.php:87 Stack trace: #0 /var/www/mysite.com/htdocs/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-blocks/src/PayPalPaymentMethod.php(239): WooCommerce\PayPalCommerce\WcGateway\Helper\SettingsStatus->is_smart_button_enabled_for_location() #1 /var/www/mysite.com/htdocs/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/Payments/PaymentMethodRegistry.php(62): WooCommerce\PayPalCommerce\Blocks\PayPalPaymentMethod->get_payment_method_data() #2 /var/www/mysite.com/htdocs/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/Payments/Api.php(92): Automattic\WooCommerce\Blocks\Payments\PaymentMethodRegistry->get_all_registered_script_data() #3 /var/www/mysite.com/htdocs/wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\Blocks\Payments\Api->add_payment_method_script_data() #4 /var/www/mysite.com/htdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #5 /var/www/mysite.com/htdocs/wp-includes/plugin.php(517): WP_Hook->do_action() #6 /var/www/mysite.com/htdocs/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/Checkout.php(381): do_action() #7 /var/www/mysite.com/htdocs/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php(406): Automattic\WooCommerce\Blocks\BlockTypes\Checkout->enqueue_data() #8 /var/www/mysite.com/htdocs/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/Checkout.php(126): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->enqueue_assets() #9 /var/www/mysite.com/htdocs/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php(86): Automattic\WooCommerce\Blocks\BlockTypes\Checkout->enqueue_assets() #10 /var/www/mysite.com/htdocs/wp-includes/class-wp-block.php(258): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->render_callback() #11 /var/www/mysite.com/htdocs/wp-includes/blocks.php(1484): WP_Block->render() #12 /var/www/mysite.com/htdocs/wp-includes/blocks.php(1522): render_block() #13 /var/www/mysite.com/htdocs/wp-includes/class-wp-hook.php(324): do_blocks() #14 /var/www/mysite.com/htdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters() #15 /var/www/mysite.com/htdocs/wp-includes/post-template.php(256): apply_filters() #16 /var/www/mysite.com/htdocs/wp-content/themes/storefront/inc/storefront-template-functions.php(352): the_content() #17 /var/www/mysite.com/htdocs/wp-includes/class-wp-hook.php(324): storefront_page_content() #18 /var/www/mysite.com/htdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #19 /var/www/mysite.com/htdocs/wp-includes/plugin.php(517): WP_Hook->do_action() #20 /var/www/mysite.com/htdocs/wp-content/themes/storefront/content-page.php(18): do_action() #21 /var/www/mysite.com/htdocs/wp-includes/template.php(792): require('...') #22 /var/www/mysite.com/htdocs/wp-includes/template.php(725): load_template() #23 /var/www/mysite.com/htdocs/wp-includes/general-template.php(206): locate_template() #24 /var/www/mysite.com/htdocs/wp-content/themes/storefront/page.php(24): get_template_part() #25 /var/www/mysite.com/htdocs/wp-includes/template-loader.php(106): include('...') #26 /var/www/mysite.com/htdocs/wp-blog-header.php(19): require_once('...') #27 /var/www/mysite.com/htdocs/index.php(17): require('...') #28 {main} thrown in /var/www/mysite.com/htdocs/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-wc-gateway/src/Helper/SettingsStatus.php on line 87
2# When I tried onboarding at first time, I failed, and it show :https://prnt.sc/3fhxM49qNhie
I tried a second time by disconnect and re-onboarding, but standard card payment failed to be enabled:https://prnt.sc/_JzVBaLjjfD4
and I am quite curious about the onboarding logs that will show on the main site:2023-12-13T03:20:52+00:00 DEBUG GET https://api-m.paypal.com/v1/notifications/webhooks Response Debug ID: 5501d5b757ef4 Response: Array ( [code] => 200 [message] => OK ) 2023-12-13T03:20:55+00:00 DEBUG Loaded onbording URL from cache: sandbox-ppcp 2023-12-13T03:20:55+00:00 DEBUG Loaded onbording URL from cache: sandbox-express_checkout 2023-12-13T03:20:55+00:00 DEBUG GET https://api-m.paypal.com/v1/notifications/webhooks Response Debug ID: 23491f491bdef Response: Array ( [code] => 200 [message] => OK )
on the subsite, still failed to enable Standard card payment, it logs:
2023-12-13T03:20:25+00:00 DEBUG GET https://connect.woocommerce.com/ppc/v1/notifications/webhooks Response: Array ( [code] => 404 [message] => Not Found ) Response Body: <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="robots" content="noindex,nofollow,noarchive" /> <title>An Error Occurred: Not Found</title> <style>body { background-color: #fff; color: #222; font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; margin: 0; } .container { margin: 30px; max-width: 600px; } h1 { color: #dc3545; font-size: 24px; } h2 { font-size: 18px; }</style> </head> <body> <div class="container"> <h1>Oops! An Error Occurred</h1> <h2>The server returned a "404 Not Found".</h2> <p> Something is broken. Please let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused. </p> </div> </body> </html> 2023-12-13T03:20:25+00:00 ERROR Failed to delete webhooks: [Error] Unknown error while connecting to PayPal. Status code: 0. 2023-12-13T03:20:25+00:00 INFO Webhooks deleted. 2023-12-13T03:20:25+00:00 DEBUG Validating onboarding ppcpToken: ey...DNhIn0 2023-12-13T03:20:25+00:00 INFO Validated onboarding ppcpToken: ey...DNhIn0 2023-12-13T03:20:25+00:00 INFO Redirect OK: https://test.lovcour.com/wp-admin/admin.php?page=wc-settings&tab=checkout§ion=ppcp-gateway&ppcp-tab=ppcp-connection 2023-12-13T03:20:26+00:00 DEBUG POST https://connect.woocommerce.com/ppc/v1/notifications/webhooks Request Body: {"url":"https:\/\/test.lovcour.com\/wp-json\/paypal\/v1\/incoming","event_types":[{"name":"CHECKOUT.ORDER.APPROVED"},{"name":"CHECKOUT.ORDER.COMPLETED"},{"name":"CHECKOUT.PAYMENT-APPROVAL.REVERSED"},{"name":"PAYMENT.CAPTURE.REFUNDED"},{"name":"PAYMENT.AUTHORIZATION.VOIDED"},{"name":"PAYMENT.CAPTURE.REVERSED"},{"name":"PAYMENT.ORDER.CANCELLED"},{"name":"PAYMENT.CAPTURE.DENIED"},{"name":"PAYMENT.CAPTURE.COMPLETED"},{"name":"VAULT.PAYMENT-TOKEN.CREATED"},{"name":"VAULT.PAYMENT-TOKEN.DELETED"},{"name":"PAYMENT.CAPTURE.PENDING"},{"name":"PAYMENT.SALE.COMPLETED"},{"name":"PAYMENT.SALE.REFUNDED"},{"name":"BILLING.SUBSCRIPTION.CANCELLED"},{"name":"BILLING.PLAN.PRICING-CHANGE.ACTIVATED"},{"name":"CATALOG.PRODUCT.UPDATED"},{"name":"BILLING.PLAN.UPDATED"}]} Response: Array ( [code] => 404 [message] => Not Found ) Response Body: <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="robots" content="noindex,nofollow,noarchive" /> <title>An Error Occurred: Not Found</title> <style>body { background-color: #fff; color: #222; font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; margin: 0; } .container { margin: 30px; max-width: 600px; } h1 { color: #dc3545; font-size: 24px; } h2 { font-size: 18px; }</style> </head> <body> <div class="container"> <h1>Oops! An Error Occurred</h1> <h2>The server returned a "404 Not Found".</h2> <p> Something is broken. Please let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused. </p> </div> </body> </html> 2023-12-13T03:20:26+00:00 ERROR Failed to subscribe webhooks: [Error] Unknown error while connecting to PayPal. Status code: 0. 2023-12-13T03:20:26+00:00 DEBUG POST https://api-m.paypal.com/v1/oauth2/token?grant_type=client_credentials Response Debug ID: 061ad280c507a Response: Array ( [code] => 200 [message] => OK )
The above errors and bugs show:
1# that this plugin is not compatible with Multisite.
2# Maybe also not compatible with Wordfence.
Here is system info:
### WordPress Environment ### WordPress address (URL): https://test.mysite.com Site address (URL): https://test.mysite.com WC Version: 8.3.1 REST API Version: ? 8.3.1 WC Blocks Version: ? 11.4.9 Action Scheduler Version: ? 3.6.4 Log Directory Writable: ? WP Version: 6.4.2 WP Multisite: ? WP Memory Limit: 4 GB WP Debug Mode: – WP Cron: ? Language: en_US External object cache: ? ### Server Environment ### Server Info: nginx/1.24.0 PHP Version: 8.1.24 PHP Post Max Size: 100 MB PHP Time Limit: 300 PHP Max Input Vars: 20000 cURL Version: 7.81.0 OpenSSL/3.0.2 SUHOSIN Installed: – MySQL Version: 10.6.15-MariaDB-1:10.6.15+maria~ubu2204-log Max Upload Size: 100 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 8.3.1 WC Database Prefix: wp_4_ Total Database Size: 10.85MB Database Data Size: 5.59MB Database Index Size: 5.26MB wp_4_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_4_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_4_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_4_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_4_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_4_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_4_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_4_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_4_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_4_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_4_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_4_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_4_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_4_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_4_actionscheduler_actions: Data: 0.02MB + Index: 0.11MB + Engine InnoDB wp_4_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_4_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_4_actionscheduler_logs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_4_as3cf_items: Data: 0.02MB + Index: 0.11MB + Engine InnoDB wp_4_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_4_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_4_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_4_options: Data: 0.16MB + Index: 0.06MB + Engine InnoDB wp_4_postmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_4_posts: Data: 0.05MB + Index: 0.06MB + Engine InnoDB wp_4_rank_math_internal_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_4_rank_math_internal_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_4_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_4_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_4_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_4_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_4_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB wp_4_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB wp_4_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_4_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_4_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_4_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB wp_4_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_4_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_4_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_4_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_4_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_4_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_4_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_4_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_4_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_4_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_4_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_4_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_4_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_4_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_4_wpmailsmtp_attachment_files: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_4_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_4_wpmailsmtp_emails_log: Data: 0.17MB + Index: 0.03MB + Engine InnoDB wp_4_wpmailsmtp_email_attachments: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_4_wpmailsmtp_email_tracking_events: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_4_wpmailsmtp_email_tracking_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_4_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_blogmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_blogs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_registration_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_signups: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_site: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_sitemeta: Data: 0.22MB + Index: 0.03MB + Engine InnoDB wp_usermeta: Data: 3.52MB + Index: 3.03MB + Engine InnoDB wp_users: Data: 0.20MB + Index: 0.16MB + Engine InnoDB ### Post Type Counts ### attachment: 1 page: 6 post: 2 product: 1 shop_order_placehold: 5 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (7) ### WooCommerce PayPal Payments: by WooCommerce – 2.4.2 WooCommerce: by Automattic – 8.3.1 (update to version 8.4.0 is available) WP Offload Media: by Delicious Brains – 3.2.5 Object Cache Pro: by Rhubarb Group – 1.20.2 Wordfence Security: by Wordfence – 7.11.0 WP Mail SMTP Pro: by WP Mail SMTP – 3.8.2 Nginx Helper: by rtCamp – 2.1.0 ### Dropin Plugins (1) ### object-cache.php: Object Cache Pro (Drop-in) ### 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: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore HPOS data sync enabled: – ### WC Pages ### Shop base: #5 - /shop/ Cart: #6 - /cart/ Checkout: #7 - /checkout/ My account: #8 - /my-account/ Terms and conditions: ? Page not set ### Theme ### Name: Storefront Version: 4.5.3 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: /var/www/mysite.com/htdocs/wp-content/plugins/woocommerce/packages/woocommerce-blocks/templates/notices/error.php /var/www/mysite.com/htdocs/wp-content/plugins/woocommerce/packages/woocommerce-blocks/templates/notices/notice.php /var/www/mysite.com/htdocs/wp-content/plugins/woocommerce/packages/woocommerce-blocks/templates/notices/success.php ### 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 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-virtual-downloadable product-external-affiliate settings async-product-editor-category-field Daily Cron: ? Next scheduled: 2023-12-13 11:48:10 +00:00 Options: ? Notes: 69 Onboarding: skipped ### Action Scheduler ### Complete: 40 Oldest: 2023-12-10 11:48:29 +0000 Newest: 2023-12-13 03:00:25 +0000 Failed: 2 Oldest: 2023-12-10 11:51:14 +0000 Newest: 2023-12-12 15:16:51 +0000 Pending: 4 Oldest: 2023-12-13 06:16:31 +0000 Newest: 2023-12-22 21:19:39 +0000 ### Status report information ### Generated at: 2023-12-13 03:29:17 +00:00
4# As to 403 errors
Regarding the messages you’re seeing on the PayPal Developer site, it’s important to note that the “ERROR Failed to retrieve stored webhook data” is not directly related to the 403 (billing agreement calls). As discussed in our previous?conversation?these API queries are from a different source.
Ok, I got understand that 403 Error is not related to “ERROR Failed to retrieve stored webhook data”.
However, I would recommend checking if the problem persists when all other plugins are disabled.
1# I would like to let you know that 403 errors are definitely from this plugin. I created a test subsite on our multisite, and tried to activate this plugin and activiate Paypal connection. Everytime I tried to “Activate Paypal” connection, it will trigger that 403 error.
2# Everytime, if a customer place order, it will also trigger 403 errors.
Thanks
Hello @alexliii
Let’s address each of your concerns one by one.2023-12-12T15:37:36+00:00 CRITICAL Uncaught TypeError: WooCommerce\PayPalCommerce\WcGateway\Helper\SettingsStatus::is_smart_button_enabled_for_location(): Argument #1 ($location) must be of type string, null given, called in /var/www/mysite.com/htdocs/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-blocks/src/PayPalPaymentMethod.php on line 239 and defined in /var/www/mysite.com/htdocs/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-wc-gateway/src/Helper/SettingsStatus.php:87
The critical error you’re experiencing seems to be a new issue as we’ve only had one similar report recently. To isolate the cause, please disable all plugins on your site and switch your theme to the default Storefront theme. Once this is done, activate only the PayPal Payments extension. If the issue persists with just the PayPal Payments extension active, please inform us immediately. This will help us determine if the problem is within the extension itself or its interaction with WooCommerce. If the error doesn’t occur, gradually enable your other plugins one by one to identify which one might be causing the conflict.
2# When I tried onboarding at first time, I failed, and it show :https://prnt.sc/3fhxM49qNhie
If onboarding fails initially, retrying usually resolves the issue. If it doesn’t, manually entering your credentials is a reliable workaround. You can follow the instructions for manual credential input as outlined in this tutorial: Manual Credential Input
I tried a second time by disconnect and re-onboarding, but standard card payment failed to be enabled:https://prnt.sc/_JzVBaLjjfD4
You onboarded manually or onboarded again by a wizzard?
The above errors and bugs show:
1# that this plugin is not compatible with Multisite.
2# Maybe also not compatible with Wordfence.
We are not currently aware of any compatibility issues with WordPress multisite setups or the Wordfence plugin. However, we are always open to investigating any specific problems that may arise.
and I am quite curious about the onboarding logs that will show on the main site:
There doesn’t seem to be anything unusual in the logs after onboarding. As I mentioned previously, this is a normal process, and there’s no cause for concern here. Why do you consider this behaviour as unexpected?
1# I would like to let you know that 403 errors are definitely from this plugin. I created a test subsite on our multisite, and tried to activate this plugin and activiate Paypal connection. Everytime I tried to “Activate Paypal” connection, it will trigger that 403 error.
2# Everytime, if a customer place order, it will also trigger 403 errors.
Thanks
It looks like the transient may be called too often, which can cause 403 errors. In order for us to investigate this further, we would need to see if this behavior persists with all plugins disabled, but you haven’t let us know the result. I realize you’re asking this question for the third time, but I can’t give a definite answer because this is quite unusual, and we assume it’s due to caching.
If you have any more questions or need further assistance, don’t hesitate to reach out.
Kind Regards,
Krystian
- This reply was modified 11 months, 3 weeks ago by Krystian from Syde.
- The topic ‘ERROR Failed to retrieve stored webhook data.’ is closed to new replies.