Oops, there was a temporary payment error
-
Within the past month the following error is displayed on the MY ACCOUNT page / “Payment Methods” is used to “ADD PAYMENT METHOD” – Credit Card.
- Oops, there was a temporary payment error. Please try another payment method or contact us to complete your transaction.
I’ve updated all plugins. I’ve tried deactivating all but Woocommerce and Subscriptions. My theme is old so I created a staging site using StoreFront and same symptom. I enabled the plugin debugging and the following errors are thrown:
thrown in /.../wp-content/plugins/woocommerce-gateway-paypal-powered-by-braintree/includes/payment-forms/class-wc-braintree-hosted-fields-payment-form.php on line 191 [21-Feb-2023 01:01:52 UTC] [CRITICAL] : Uncaught TypeError: array_map(): Argument #2 ($array) must be of type array, string given in /home/askwino7/club.winelab.net/wp-content/plugins/woocommerce-gateway-paypal-powered-by-braintree/includes/payment-forms/class-wc-braintree-hosted-fields-payment-form.php:191 Stack trace: #0 //wp-content/plugins/woocommerce-gateway-paypal-powered-by-braintree/includes/payment-forms/class-wc-braintree-hosted-fields-payment-form.php(191): array_map('\\SkyVerge\\WooCo...', '') #1 //wp-content/plugins/woocommerce-gateway-paypal-powered-by-braintree/includes/payment-forms/class-wc-braintree-hosted-fields-payment-form.php(154): WC_Braintree_Hosted_Fields_Payment_Form->get_enabled_card_types() #2 //wp-content/plugins/woocommerce-gateway-paypal-powered-by-braintree/includes/payment-forms/abstract-wc-braintree-payment-form.php(207): WC_Braintree_Hosted_Fields_Payment_Form->get_payment_form_handler_js_params() #3 //wp-content/plugins/woocommerce-gateway-paypal-powered-by-braintree/vendor/skyverge/wc-plugin-framework/woocommerce/Handlers/Script_Handler.php(167): WC_Braintree_Payment_Form->get_js_handler_args() #4 //wp-content/plugins/woocommerce-gateway-paypal-powered-by-braintree/vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-payment-form.php(1071): SkyVerge\WooCommerce\PluginFramework\v5_10_12\Handlers\Script_Handler->get_handler_js(Array, 'WC_ #5 //wp-content/plugins/woocommerce-gateway-paypal-powered-by-braintree/vendor/skyverge/wc-plugin-framework/woocommerce/Handlers/Script_Handler.php(134): SkyVerge\WooCommerce\PluginFramework\v5_10_12\SV_WC_Payment_Gateway_Payment_Form->get_handler_js(Array, 'WC_Braintree_Cr...', '') #6 //wp-content/plugins/woocommerce-gateway-paypal-powered-by-braintree/vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-payment-form.php(1049): SkyVerge\WooCommerce\PluginFramework\v5_10_12\Handlers\Script_Handler->get_safe_handler_js() #7 //wp-content/plugins/woocommerce-gateway-paypal-powered-by-braintree/includes/payment-forms/abstract-wc-braintree-payment-form.php(167): SkyVerge\WooCommerce\PluginFramework\v5_10_12\SV_WC_Payment_Gateway_Payment_Form->render_js() #8 //wp-includes/class-wp-hook.php(307): WC_Braintree_Payment_Form->render_js('') #9 //wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #10 /wp-includes/plugin.php(476): WP_Hook->do_action(Array) #11 /wp-includes/general-template.php(3058): do_action('wp_footer') #12 /wp-content/themes/shop-isle-pro/footer.php(24): wp_footer() #13 /wp-includes/template.php(770): require_once('/home/askwino7/...') #14 /wp-includes/template.php(716): load_template('/home/askwino7/...', true, Array) #15 /wp-includes/general-template.php(92): locate_template(Array, true, true, Array) #16 /wp-content/themes/shop-isle-pro/page.php(149): get_footer() #17 /wp-includes/template-loader.php(106): include('/home/askwino7/...') #18 /wp-blog-header.php(19): require_once('/home/askwino7/...') #19 /index.php(17): require('/home/askwino7/...') #20 {main} thrown
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Oops, there was a temporary payment error’ is closed to new replies.