Paypal Error when returning to Woocommerce Checkout Page after payment
-
We have connected our PaylPal business account using login credentials to the WooCommerce PayPal Payments plugin and all connected successfully. PayPal payment options comes up on the Checkout Page. When you make a PayPal payment all goes well, PayPal login in popup appears, you login, make your payment and return to the checkout page. It is at this point that a default error appears on the Woocommerce checkout page:
“There are no payment methods available. This may be an error on our side. Please contact us if you need any help on placing your order”
Now before we ticked the “Require final confirmation on checkout” tickbox in the PayPal plugin Standard Payment settings PayPal would set a pending payment transaction with the selected financial institution but no transaction appears in the actual PayPal account, as if it didn’t even know it happened. Now it’s ticked there is no payment as final confirmation is not there when you return no pending transaction is made. We look at the orders in the backend of Woocommerce and it stays as draft. We have tried deactivating, deleting the Woocommerce PayPal plugin, reinstalling it, reconnecting to our PayPal business account and the error remains.
Your help will be appreciated.
-
` ### WordPress Environment ### WordPress address (URL): https://sustainablereefs.com.au Site address (URL): https://sustainablereefs.com.au WC Version: 8.0.3 REST API Version: ? 8.0.3 WC Blocks Version: ? 10.6.6 Action Scheduler Version: ? 3.6.1 Log Directory Writable: ? WP Version: 6.3.1 WP Multisite: – WP Memory Limit: 512 MB WP Debug Mode: – WP Cron: ? Language: en_AU External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 8.2.5 PHP Post Max Size: 128 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: 7.87.0 OpenSSL/1.1.1p SUHOSIN Installed: – MySQL Version: 10.5.19-MariaDB-cll-lve-log Max Upload Size: 128 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? Your server does not have the SoapClient class enabled - some gateway plugins which use SOAP may not work as expected. DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 8.0.3 WC Database Prefix: wp_ Total Database Size: 28.11MB Database Data Size: 25.51MB Database Index Size: 2.60MB wp_woocommerce_sessions: Data: 0.39MB + 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: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + 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.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_actions: Data: 0.16MB + Index: 0.16MB + 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: 0.11MB + Index: 0.09MB + Engine InnoDB wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_nfd_data_event_queue: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_options: Data: 21.48MB + Index: 0.14MB + Engine InnoDB wp_postmeta: Data: 0.39MB + Index: 0.19MB + Engine InnoDB wp_posts: Data: 1.52MB + Index: 0.06MB + Engine InnoDB wp_snippets: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_usermeta: Data: 0.11MB + Index: 0.03MB + Engine InnoDB wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_note_actions: Data: 0.06MB + Index: 0.02MB + Engine InnoDB wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB wp_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wpforms_payments: Data: 0.02MB + Index: 0.14MB + Engine InnoDB wp_wpforms_payment_meta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_yith_shippo_shipping_parcel_boxes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_yith_shippo_shipping_rulemeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_yith_shippo_shipping_rules: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_yith_shippo_shipping_tracking: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_yith_wcan_filter_sessions: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_yoast_indexable: Data: 0.09MB + Index: 0.09MB + Engine InnoDB wp_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + 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.02MB + Index: 0.03MB + Engine InnoDB ### Post Type Counts ### attachment: 117 customize_changeset: 1 page: 12 post: 18 product: 68 revision: 129 shop_order: 13 wp_global_styles: 1 wp_navigation: 3 wp_template: 13 wp_template_part: 3 wpforms: 2 yith_wcan_preset: 1 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (14) ### Akismet Anti-Spam: Spam Protection: by Automattic - Anti Spam Team – 5.2 Code Snippets: by Code Snippets Pro – 3.4.2 Limit Login Attempts Reloaded: by Limit Login Attempts Reloaded – 2.25.25 Members: by MemberPress – 3.2.7 Shipping Options: by impleCode – 1.1.9 String Locator: by InstaWP – 2.6.3 WooCommerce Stripe Gateway: by WooCommerce – 7.5.0 WooCommerce Payments: by Automattic – 6.4.1 WooCommerce PayPal Payments: by WooCommerce – 2.2.2 WooCommerce: by Automattic – 8.0.3 WP Mail SMTP: by WP Mail SMTP – 3.9.0 The Crazy Domains Plugin: by Crazy Domains – 1.0.6 YITH WooCommerce Ajax Product Filter Extended: by YITH – 4.25.0 YITH WooCommerce Ajax Search: by YITH – 1.34.0 ### Inactive Plugins (12) ### Checkout Field Editor for WooCommerce: by ThemeHigh – 1.9.1 Creative Mail by Newfold Digital: by Newfold Digital – 1.6.7 Google Analytics for WordPress by MonsterInsights: by MonsterInsights – 8.19 Hello Dolly: by Matt Mullenweg – 1.7.2 Jetpack: by Automattic – 12.5 Ninja Forms: by Saturday Drive – 3.6.29 OptinMonster: by OptinMonster Popup Builder Team – 2.13.8 WooCommerce Shipping & Tax: by WooCommerce – 2.3.4 WPForms Lite: by WPForms – 1.8.3.1 YITH PayPal Payments for WooCommerce Extended: by YITH – 2.12.0 YITH Shippo Shippings for WooCommerce Extended: by YITH – 1.11.0 Yoast SEO: by Team Yoast – 21.1 ### Must Use Plugins (2) ### Endurance Page Cache: by Mike Hansen – 2.2 WordPress automation by Installatron: by – ### Settings ### API Enabled: – Force SSL: – Currency: AUD ($) 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: #11 - /shop/ Cart: #12 - /cart/ Checkout: #13 - /checkout/ My account: #14 - /my-account/ Terms and conditions: #15 - /terms_conditions/ ### Theme ### Name: Sustainable Reefs Version: 1.0.0 Author URL: https://yqhjog98.dreamwp.com Child Theme: ? Parent Theme Name: YITH Wonder Parent Theme Version: 1.3.3 Parent Theme Author URL: https://yithemes.com/ WooCommerce Support: ? ### Templates ### Overrides: /home/w6338572/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/templates/notices/error.php /home/w6338572/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/templates/notices/notice.php /home/w6338572/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/templates/notices/success.php ### WooCommerce PayPal Payments ### Onboarded: ? Shop country code: AU 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-09-11 04:24:49 +10:00 Options: ? Notes: 78 Onboarding: completed ### WooCommerce Payments ### Version: 6.4.1 Connected to WPCOM: Yes Blog ID: 222928529 Account ID: acct_1NkhlXFdJOI8dFOQ ### Action Scheduler ### Cancelled: 1 Oldest: 2023-09-09 15:35:50 +1000 Newest: 2023-09-09 15:35:50 +1000 Complete: 424 Oldest: 2023-08-28 15:50:53 +1000 Newest: 2023-09-11 12:04:29 +1000 Failed: 7 Oldest: 2023-08-28 15:13:30 +1000 Newest: 2023-09-09 09:40:51 +1000 Pending: 5 Oldest: 2023-09-11 14:00:00 +1000 Newest: 2023-09-27 15:13:30 +1000 ### Status report information ### Generated at: 2023-09-11 12:36:56 +10:00 `
Status Report
Fatal Error Log
2023-09-08T04:53:30+00:00 CRITICAL Uncaught TypeError: array_merge(): Argument #2 must be of type array, bool given in /home/w6338572/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/connect/class-wc-stripe-connect.php:111 Stack trace: #0 /home/w6338572/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/connect/class-wc-stripe-connect.php(111): array_merge() #1 /home/w6338572/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/connect/class-wc-stripe-connect.php(75): WC_Stripe_Connect->save_stripe_keys() #2 /home/w6338572/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/connect/class-wc-stripe-connect.php(89): WC_Stripe_Connect->connect_oauth() #3 /home/w6338572/public_html/wp-includes/class-wp-hook.php(310): WC_Stripe_Connect->maybe_handle_redirect() #4 /home/w6338572/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters() #5 /home/w6338572/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #6 /home/w6338572/public_html/wp-admin/admin.php(175): do_action() #7 {main} thrown in /home/w6338572/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/connect/class-wc-stripe-connect.php on line 111 2023-09-08T04:55:49+00:00 CRITICAL Uncaught TypeError: array_merge(): Argument #2 must be of type array, bool given in /home/w6338572/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/connect/class-wc-stripe-connect.php:111 Stack trace: #0 /home/w6338572/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/connect/class-wc-stripe-connect.php(111): array_merge() #1 /home/w6338572/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/connect/class-wc-stripe-connect.php(75): WC_Stripe_Connect->save_stripe_keys() #2 /home/w6338572/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/connect/class-wc-stripe-connect.php(89): WC_Stripe_Connect->connect_oauth() #3 /home/w6338572/public_html/wp-includes/class-wp-hook.php(310): WC_Stripe_Connect->maybe_handle_redirect() #4 /home/w6338572/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters() #5 /home/w6338572/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #6 /home/w6338572/public_html/wp-admin/admin.php(175): do_action() #7 {main} thrown in /home/w6338572/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/connect/class-wc-stripe-connect.php on line 111 2023-09-08T23:06:03+00:00 CRITICAL Uncaught TypeError: array_merge(): Argument #2 must be of type array, bool given in /home/w6338572/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/connect/class-wc-stripe-connect.php:111 Stack trace: #0 /home/w6338572/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/connect/class-wc-stripe-connect.php(111): array_merge() #1 /home/w6338572/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/connect/class-wc-stripe-connect.php(75): WC_Stripe_Connect->save_stripe_keys() #2 /home/w6338572/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/connect/class-wc-stripe-connect.php(89): WC_Stripe_Connect->connect_oauth() #3 /home/w6338572/public_html/wp-includes/class-wp-hook.php(310): WC_Stripe_Connect->maybe_handle_redirect() #4 /home/w6338572/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters() #5 /home/w6338572/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #6 /home/w6338572/public_html/wp-admin/admin.php(175): do_action() #7 {main} thrown in /home/w6338572/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/connect/class-wc-stripe-connect.php on line 111 2023-09-08T23:13:47+00:00 CRITICAL Uncaught TypeError: array_merge(): Argument #2 must be of type array, bool given in /home/w6338572/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/connect/class-wc-stripe-connect.php:111 Stack trace: #0 /home/w6338572/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/connect/class-wc-stripe-connect.php(111): array_merge() #1 /home/w6338572/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/connect/class-wc-stripe-connect.php(75): WC_Stripe_Connect->save_stripe_keys() #2 /home/w6338572/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/connect/class-wc-stripe-connect.php(89): WC_Stripe_Connect->connect_oauth() #3 /home/w6338572/public_html/wp-includes/class-wp-hook.php(310): WC_Stripe_Connect->maybe_handle_redirect() #4 /home/w6338572/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters() #5 /home/w6338572/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #6 /home/w6338572/public_html/wp-admin/admin.php(175): do_action() #7 {main} thrown in /home/w6338572/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/connect/class-wc-stripe-connect.php on line 111 2023-09-08T23:28:57+00:00 CRITICAL Uncaught TypeError: array_merge(): Argument #2 must be of type array, bool given in /home/w6338572/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/connect/class-wc-stripe-connect.php:111 Stack trace: #0 /home/w6338572/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/connect/class-wc-stripe-connect.php(111): array_merge() #1 /home/w6338572/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/connect/class-wc-stripe-connect.php(75): WC_Stripe_Connect->save_stripe_keys() #2 /home/w6338572/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/connect/class-wc-stripe-connect.php(89): WC_Stripe_Connect->connect_oauth() #3 /home/w6338572/public_html/wp-includes/class-wp-hook.php(310): WC_Stripe_Connect->maybe_handle_redirect() #4 /home/w6338572/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters() #5 /home/w6338572/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #6 /home/w6338572/public_html/wp-admin/admin.php(175): do_action() #7 {main} thrown in /home/w6338572/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/connect/class-wc-stripe-connect.php on line 111 2023-09-08T23:35:05+00:00 CRITICAL Uncaught TypeError: array_merge(): Argument #2 must be of type array, bool given in /home/w6338572/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/connect/class-wc-stripe-connect.php:111 Stack trace: #0 /home/w6338572/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/connect/class-wc-stripe-connect.php(111): array_merge() #1 /home/w6338572/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/connect/class-wc-stripe-connect.php(75): WC_Stripe_Connect->save_stripe_keys() #2 /home/w6338572/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/connect/class-wc-stripe-connect.php(89): WC_Stripe_Connect->connect_oauth() #3 /home/w6338572/public_html/wp-includes/class-wp-hook.php(310): WC_Stripe_Connect->maybe_handle_redirect() #4 /home/w6338572/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters() #5 /home/w6338572/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #6 /home/w6338572/public_html/wp-admin/admin.php(175): do_action() #7 {main} thrown in /home/w6338572/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/connect/class-wc-stripe-connect.php on line 111 2023-09-08T23:46:22+00:00 CRITICAL Uncaught TypeError: array_merge(): Argument #2 must be of type array, bool given in /home/w6338572/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/connect/class-wc-stripe-connect.php:111 Stack trace: #0 /home/w6338572/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/connect/class-wc-stripe-connect.php(111): array_merge() #1 /home/w6338572/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/connect/class-wc-stripe-connect.php(75): WC_Stripe_Connect->save_stripe_keys() #2 /home/w6338572/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/connect/class-wc-stripe-connect.php(89): WC_Stripe_Connect->connect_oauth() #3 /home/w6338572/public_html/wp-includes/class-wp-hook.php(310): WC_Stripe_Connect->maybe_handle_redirect() #4 /home/w6338572/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters() #5 /home/w6338572/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #6 /home/w6338572/public_html/wp-admin/admin.php(175): do_action() #7 {main} thrown in /home/w6338572/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/connect/class-wc-stripe-connect.php on line 111 2023-09-08T23:50:39+00:00 CRITICAL Uncaught TypeError: array_merge(): Argument #2 must be of type array, bool given in /home/w6338572/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/connect/class-wc-stripe-connect.php:111 Stack trace: #0 /home/w6338572/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/connect/class-wc-stripe-connect.php(111): array_merge() #1 /home/w6338572/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/connect/class-wc-stripe-connect.php(75): WC_Stripe_Connect->save_stripe_keys() #2 /home/w6338572/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/connect/class-wc-stripe-connect.php(89): WC_Stripe_Connect->connect_oauth() #3 /home/w6338572/public_html/wp-includes/class-wp-hook.php(310): WC_Stripe_Connect->maybe_handle_redirect() #4 /home/w6338572/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters() #5 /home/w6338572/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #6 /home/w6338572/public_html/wp-admin/admin.php(175): do_action() #7 {main} thrown in /home/w6338572/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/connect/class-wc-stripe-connect.php on line 111
Hello @susreefs
Thank you for reaching out to us, we are here to help.
We have not seen this issue before, so there is unfortunately not a standard response we can give you on this. It is very strange, because after paying the order on the checkout page, you should not return to the checkout page, but to the “order-received” page. Have you checked how this is set up in the advanced WooCommerce settings?
If this was my site, I would start by performing conflict tests. Full conflict tests are performed 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.
I would also create a staging site and see if you get the same issue when using sandbox accounts, and this staging site will also help you to do conflict testing much easier and not affect your live site.
One last thing: when you went through the payment process and the website does not respond to this, it could be that the WooCommerce site did not receive the payment successful webhook. You might want to test the webhooks. You can do this, by going to the “Connection” tab in the plugin settings, where you can find the “Simulate” button to test the webhooks and the “Resubscribe” button to correct the webhooks.
Finally, I want to mention that the logs, you shared, indicate an issue with the Stripe payment gateway. You might want to see if our plugin behaves correctly when you have deactivated the Stripe plugin?
Please let me know if you found any indicators of what is causing this issue with these instructions.
Kind regards,
JoostThank you Joost I have tried some of those things but will do another full check as per your advice above tomorrow.
Regards
Rick Stella
Joost, a few points to clarify with you. After PayPal payment it does not go to the Payment Confirmation screen as the payment has failed which is why it returns with the error as above. And in the checkout page the error is “there are no payment options available”.
We have removed and do not use the Woocommerce Stripe plugin as it’s not compatible with the new Woocommerce WordPress checkout and carts blocks. We just use Woocommerce Payments and they work fine in our website for credit card payment.
We have connected our PayPal business sandbox account to test and same error. We’ve even used another PayPal personal account, same error.
We have deactivated all plugins except Woocommerce and the Woocommerce PayPal Payments, same error.
Went in and performed a simulate on the webhooks and it tested and returned results all fine.
We have gone in to our staging area and deleted the new Woocommerce Cart and Checkout blocks, and reverted back to the shortcode blocks [woocommerce_cart] and [woocommerce_checkout] tested in the PayPal sandbox account and worked fine. This was a work around offered by you guys here
https://woocommerce.com/document/cart-checkout-blocks-support-status/#reverting-to-shortcodes
Also this page above refers to the Woocommerce PayPal Payments plugin as needing to be at issue 2.3.0+??? The latest version is 2.2.2 so it doesn’t even exist!! Can you please explain if this is true?
There is a compatibility issue with the new Woocommerce checkout block in the latest plugin and Woocommerce PayPal Payments, otherwise reverting to the old shortcode would also fail.
the only thing we haven’t done is use the old store front template you advised as our theme. Will do that tomorrow.
looking forward to your thoughts on all this.
Hello @susreefs
Ah ok, this clears up a lot, I did not understand you are using Blocks. Our plugin only recently made blocks available, and we are still in the phase where we are trying to fix many issues (since Blocks release can be seen as version 1.0.0). We already found many issues and are working on this, to get this sorted out, but it will take some time before this will work without these (or other) problems.
We have created a page that documents how to set up the blocks’ functionality for our plugin, but this will not contain any fix for the issue you are facing. At this moment, the only stable option of using our plugin, would be to not use the blocks version, but the standard one.
Your issue might be related to the address validation situation (“Require final confirmation on checkout”), this is documented here.
The reference to version 2.3.0 is a mistake by WooCommerce, but getting this changed will take more time than it takes for us to release 2.3.0.
The next release (2.3.0) will not improve the Blocks functionality much, but we expect some improvements on the 2.3.1 release. So please review the linked documents and see if that helps you further. If it does not, I would advise you to use the short codes you mentioned before for now and test blocks again once we have done release 2.3.1.
Let me know if you have any more questions.
Kind regards,
JoostNote that reverting to the shortcodes on cart and checkout pages helped for me, but the “Paypal smart button” on the single product page did still hung trying to connect to paypal and so needed to delete it. Those having this issue might want to check if it works for you.
(Settings>Payments tab>Standard Payments tab).
Also initially also had issues deleting the established woocommerce blocks to add the shortcodes. I think activated the Woocommerce Blocks plugin allowed me to edit but can’t remember what the process was.
Hello,
Since there is not much we can do until the release of version 2.3.1, we will mark this thread as resolved. If this release does not help you improve this situation, you can change the thread to unresolved or open a new thread.
Kind regards,
JoostHello @joostvandevijver so I have now upgraded the Woocommerce PayPal Payments to version 2.3.1 and nothing has changed same old issues. Was there actually anything done to fix the plug-in integration with Woocommerce Blocks? Does not look like it?
- This reply was modified 1 year, 1 month ago by SusReefs.
Hello @susreefs
Release 2.3.1 was a hotfix for an issue that occurred with the 2.3.0 release, so this does not contain the expected feature updates that I expected for 2.3.1. We will have to wait for 2.3.2 for these updates to be included.
Sorry for the confusion.
Kind regards,
JoostHello All,
Version 2.4.0 was release a few days ago and should have resolved this issue. Please verify the fix and open a new thread if the issue is still occurring.
Kind regards,
Joost
- The topic ‘Paypal Error when returning to Woocommerce Checkout Page after payment’ is closed to new replies.