thrown in /var/www/elevatebio.com.au/htdocs/wp-content/plugins/woo-stripe-payment/includes/wc-stripe-functions.php on line 544 [13-May-2024 07:28:22 UTC] PHP Fatal error: Uncaught Error: Call to undefined method WC_Payment_Token_CC::get_payment_method_title() in /var/www/elevatebio.com.au/htdocs/wp-content/plugins/woo-stripe-payment/includes/wc-stripe-functions.php:544
this issue only happen on version 3.3.62 I just revert back to 3.3.60 to temporary make it work, please help to check
The page I need help with: [log in to see the link]
The class WC_Payment_Token_CC is not one that originates from this plugin. Credit Card payment methods from this plugin use the format WC_Payment_Token_Stripe_CC.
Check your woocommerce_payment_tokens table for double entries, using the token key for the Stripe payment method ID.
“Are you manually processing this renewal via the Subscription Details page within WooCommerce? Or is this renewal being triggered automatically?” I do it manually from detail page. I try disable all plugin except WooCommerce, payment and subscription and still got the issue, I activate again, test renewal again using paypal and googlepay payment method, and its working well. so, I think the issue in in the plugin as it working in the previous version and also working using gpay and paypal.. note: I use test mode.
@hariwebstein Please see my previous reply where I asked you to check if you had a duplicate entry for the payment method in your woocommerce_payment_tokens table.
@hariwebstein Here is a visual which I think will be helpful. I suspect you have multiple entries in your WooCommerce payment tokens table.
Notice in the screenshot below, the type value is CC for one entry and Stripe_CC for the other. The entry Stripe_CC is for this plugin. I believe the query for the payment token is finding the first entry and the incorrect payment method class is being initialized.