05navneetsharma
Forum Replies Created
-
Forum: Plugins
In reply to: [Braintree for WooCommerce Payment Gateway] Braintree Credit Card IssueHi Frank Remmy,
Thank you for your message.
Our website was processing payments successfully until about two weeks ago. We have not made any changes related to the API keys or Merchant ID during this time.
However, when I navigate to Settings → Payment, I no longer see any configuration fields for the Public Key, Secret Key, or Merchant ID.
When attempting to configure Braintree under Settings → Payment, I receive the following error:
“Braintree (PayPal) cannot process transactions, as none of the Braintree merchant accounts for the credentials from Braintree (PayPal) support this payment method. Try using the credentials for Braintree (Credit Card) to see if that account supports PayPal.”
I also logged into my Braintree merchant account to verify the settings. I do not see any configuration related to Credit Card processing. The PayPal option is visible, but it is turned off by default.
Braintree Plugin Version 3.7.0
Woocommerce Version 10.5.1
ERROR LOG
If I am using WooCommerce Checkout block (Block Editor) on checkout page below is the error I am getting, if I am using WooCommerce shortcode[woocommerce_checkout]then no payment method avaialable.
Uncaught Error: Call to a member function get_payment_tokens_handler() on null in wp-content/plugins/woocommerce-gateway-paypal-powered-by-braintree/includes/WC_Gateway_Braintree_PayPal_Blocks_Support.php:93 CONTEXT: {“error”:{“type”:1,”file”:”/wp-content/plugins/woocommerce-gateway-paypal-powered-by-braintree/includes/WC_Gateway_Braintree_PayPal_Blocks_Support.php”,”line”:93},”remote-logging”:true,”backtrace”:[“”,”#0 /wp-includes/class-wp-hook.php(341): WC_Braintree\WC_Gateway_Braintree_PayPal_Blocks_Support->add_braintree_paypal_saved_payment_methods(Array, 2)”,”#1 /wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array)”,”#2/wp-content/plugins/woocommerce/includes/wc-user-functions.php(1000): apply_filters(‘woocommerce_sav…’, Array, 2)”,”#3 wp-content/plugins/woocommerce/src/StoreApi/Utilities/PaymentUtils.php(61): wc_get_customer_saved_methods_list(2)”,”#4 /wp-content/plugins/woocommerce/src/Blocks/BlockTypes/Checkout.php(570): Automattic\WooCommerce\StoreApi\Utilities\PaymentUtils::get_saved_payment_methods()”,”#5 wp-content/plugins/woocommerce/src/Blocks/BlockTypes/Checkout.php(555): Automattic\WooCommerce\Blocks\BlockTypes\Checkout->hydrate_customer_payment_methods()”,”#6 /wp-content/plugins/woocommerce/src/Blocks/BlockTypes/AbstractBlock.php(405): Automattic\WooCommerce\Blocks\BlockTypes\Checkout->enqueue_data(Array)”,”#7 /wp-content/plugins/woocommerce/src/Blocks/BlockTypes/Checkout.php(208): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->enqueue_assets(Array, ‘\r\n<div class=”w…’, Object(WP_Block))”,”#8 /wp-content/plugins/woocommerce/src/Blocks/BlockTypes/AbstractBlock.php(96): Automattic\WooCommerce\Blocks\BlockTypes\Checkout->enqueue_assets(Array, ‘\r\n<div class=”w…’, Object(WP_Block))”,”#9 /wp-includes/class-wp-block.php(599): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->render_callback(Array, ‘\r\n<div class=”w…’, Object(WP_Block))”,”#10wp-includes/blocks.php(2383): WP_Block->render()”,”#11 /wp-includes/blocks.php(2466): render_block(Array)”,”#12/wp-includes/class-wp-hook.php(341): do_blocks(‘<!– wp:woocomm…’)”,”#13 /wp-includes/plugin.php(205): WP_Hook->apply_filters(‘<!– wp:woocomm…’, Array)”,”#14 wp-includes/post-template.php(256): apply_filters(‘the_content’, ‘<!– wp:woocomm…’)”,”#15 /wp-content/themes/samt-child/template-parts/content/content-page.php(37): the_content()”,”#16 wp-includes/template.php(816): require(‘/home4/…’)”,”#17 /wp-includes/template.php(749): load_template(‘/home4/…’, false, Array)”,”#18 /wp-includes/general-template.php(206): locate_template(Array, true, false, Array)”,”#19 /wp-content/themes//page.php(17): get_template_part(‘template-parts/…’)”,”#20 /wp-includes/template-loader.php(125): include(‘/home4/…’)”,”#21 /wp-blog-header.php(19): “,”#22 /index.php(17): ,”#23 {main}”,”thrown”]}At this point, I am unsure what is causing the payment functionality to stop working on the website. Could you please help us identify the issue?
Thank you for your support.
- This reply was modified 3 months, 2 weeks ago by 05navneetsharma.
- This reply was modified 3 months, 2 weeks ago by 05navneetsharma.
- This reply was modified 3 months, 2 weeks ago by 05navneetsharma.