• Resolved yairguy

    (@yairguy)


    Hello,
    We recently started to get the following error on a customer account.

    The error is true only on the ‘Payment method’ and ‘My subscription’ pages and is specifically to payment via PayPal (Braintree (PayPal)) i.e use of credit card (Braintree) is working well.

    I also tried to Share connection settings – Use connection/authentication settings from other gateway – didn’t work

    The error –

    Line 123
    Message Uncaught Error: Call to undefined method WC_Payment_Token_Braintree_PayPal::get_card_type() in /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce-subscriptions/includes/class-wcs-my-account-payment-methods.php:123 Stack trace: #0 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce-subscriptions/includes/class-wcs-my-account-payment-methods.php(154): WCS_My_Account_Payment_Methods::get_token_label() #1 /opt/bitnami/apps/wordpress/htdocs/wp-includes/class-wp-hook.php(303): WCS_My_Account_Payment_Methods::display_default_payment_token_change_notice() #2 /opt/bitnami/apps/wordpress/htdocs/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters() #3 /opt/bitnami/apps/wordpress/htdocs/wp-includes/plugin.php(470): WP_Hook->do_action() #4 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce/includes/class-wc-payment-tokens.php(198): do_action() #5 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce/includes/data-stores/class-wc-payment-token-data-store.php(12
    File /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce-subscriptions/includes/class-wcs-my-account-payment-methods.php

    Thanks,

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Message Uncaught Error: Call to undefined method WC_Payment_Token_Braintree_PayP’ is closed to new replies.