• Resolved kprodoto

    (@kprodoto)


    Hello

    Good day! just recently we have a problem on lots of “payment failed” on our woocommerce subscription (see the attached file on link).

    Screenshots

    it happened just recently, we dont have any issue with the renewal payment on previous months.

    we are using wordpress 4.9.4, Woocommermce 3.3.3, WooCommerce Subscriptions 2.2.16 and WooCommerce Stripe Gateway 3.2.3

    any idea why it is happening now?

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • D Smith a11n

    (@dsmithweb)

    Automattic Happiness Engineer

    Hi @kprodoto !

    Is it just on that one customer’s order, or on multiple orders from multiple customers? Do you have “Log Debug Messages” enabled within Stripe settings? https://docs.woocommerce.com/document/stripe/#section-2

    The logs generated (which will be at WooCommerce > Status, if you click the “Logs” tab and then select the Stripe log from the drop-down) should give more insight into the failure.

    If it’s just one customer, it’s likely an issue with that customer’s card. If it’s happening to a lot of customers, it’s worth checking the logs to see the reason for the failures.

    Is this only happening with Subscription renewals or with other kinds of purchases as well?

    Thread Starter kprodoto

    (@kprodoto)

    Hello @dsmithweb,

    Thanks for your response, it happens on multiple orders from multiple customers thats why i doubt it is just an isolated customer’s card issue, and it happened just recently maybe from the month of february until now, and yeah it is happening only on the subscription renewal and not on other kind of purchases, basically customers are able to subscribe and pay without any issue, the issue occur only on the next payment schedule. BTW, this is what I get on logs :

    2018-03-08T14:10:38+00:00 CRITICAL Uncaught Error: Call to a member function get() on null in <PATH_TO_WORDPRESS>/app/plugins/woocommerce-gateway-paypal-express-checkout/includes/class-wc-gateway-ppec-checkout-handler.php:704
    Stack trace:
    #0 <PATH_TO_WORDPRESS>/app/plugins/woocommerce-gateway-paypal-express-checkout/includes/abstracts/abstract-wc-gateway-ppec.php(63): WC_Gateway_PPEC_Checkout_Handler->is_started_from_checkout_page()
    #1 <PATH_TO_WORDPRESS>/app/plugins/woocommerce-gateway-paypal-express-checkout/includes/class-wc-gateway-ppec-with-paypal.php(12): WC_Gateway_PPEC->__construct()
    #2 <PATH_TO_WORDPRESS>/app/plugins/woocommerce-gateway-paypal-express-checkout/includes/class-wc-gateway-ppec-with-paypal-addons.php(10): WC_Gateway_PPEC_With_PayPal->__construct()
    #3 <PATH_TO_WORDPRESS>/app/plugins/woocommerce-multilingual/inc/class-wcml

    2018-03-08T14:21:18+00:00 CRITICAL Uncaught Error: Call to a member function get() on null in <PATH_TO_WORDPRESS>/app/plugins/woocommerce-gateway-paypal-express-checkout/includes/class-wc-gateway-ppec-checkout-handler.php:704
    Stack trace:
    #0 <PATH_TO_WORDPRESS>/app/plugins/woocommerce-gateway-paypal-express-checkout/includes/abstracts/abstract-wc-gateway-ppec.php(63): WC_Gateway_PPEC_Checkout_Handler->is_started_from_checkout_page()
    #1 <PATH_TO_WORDPRESS>/app/plugins/woocommerce-gateway-paypal-express-checkout/includes/class-wc-gateway-ppec-with-paypal.php(12): WC_Gateway_PPEC->__construct()
    #2 <PATH_TO_WORDPRESS>/app/plugins/woocommerce-gateway-paypal-express-checkout/includes/class-wc-gateway-ppec-with-paypal-addons.php(10): WC_Gateway_PPEC_With_PayPal->__construct()
    #3 <PATH_TO_WORDPRESS>/app/plugins/woocommerce-multilingual/inc/class-wcml

    2018-03-08T14:35:03+00:00 CRITICAL Uncaught Error: Call to a member function get() on null in <PATH_TO_WORDPRESS>/app/plugins/woocommerce-gateway-paypal-express-checkout/includes/class-wc-gateway-ppec-checkout-handler.php:704
    Stack trace:
    #0 <PATH_TO_WORDPRESS>/app/plugins/woocommerce-gateway-paypal-express-checkout/includes/abstracts/abstract-wc-gateway-ppec.php(63): WC_Gateway_PPEC_Checkout_Handler->is_started_from_checkout_page()
    #1 <PATH_TO_WORDPRESS>/app/plugins/woocommerce-gateway-paypal-express-checkout/includes/class-wc-gateway-ppec-with-paypal.php(12): WC_Gateway_PPEC->__construct()
    #2 <PATH_TO_WORDPRESS>/app/plugins/woocommerce-gateway-paypal-express-checkout/includes/class-wc-gateway-ppec-with-paypal-addons.php(10): WC_Gateway_PPEC_With_PayPal->__construct()
    #3 <PATH_TO_WORDPRESS>/app/plugins/woocommerce-multilingual/inc/class-wcml

    2018-03-08T15:09:31+00:00 CRITICAL Uncaught Error: Call to a member function get() on null in <PATH_TO_WORDPRESS>/app/plugins/woocommerce-gateway-paypal-express-checkout/includes/class-wc-gateway-ppec-checkout-handler.php:704
    Stack trace:
    #0 <PATH_TO_WORDPRESS>/app/plugins/woocommerce-gateway-paypal-express-checkout/includes/abstracts/abstract-wc-gateway-ppec.php(63): WC_Gateway_PPEC_Checkout_Handler->is_started_from_checkout_page()
    #1 <PATH_TO_WORDPRESS>/app/plugins/woocommerce-gateway-paypal-express-checkout/includes/class-wc-gateway-ppec-with-paypal.php(12): WC_Gateway_PPEC->__construct()
    #2 <PATH_TO_WORDPRESS>/app/plugins/woocommerce-gateway-paypal-express-checkout/includes/class-wc-gateway-ppec-with-paypal-addons.php(10): WC_Gateway_PPEC_With_PayPal->__construct()
    #3 <PATH_TO_WORDPRESS>/app/plugins/woocommerce-multilingual/inc/class-wcml

    Thanks!

    D Smith a11n

    (@dsmithweb)

    Automattic Happiness Engineer

    Hi there!

    Those errors look like they were generated by PayPal Express Checkout, not Stripe. If, on that logs page, you click the dropdown, there should be a stripe-specific logs file with a name like woocommerce-gateway-stripe-6a3a0a0.log. If you select that and then click the “View” button, are there any error messages in there?

    • This reply was modified 6 years, 11 months ago by D Smith a11n.
    Plugin Support stephjacq a11n

    (@stephjacq)

    Automattic Happiness Engineer

    Hi there,
    We haven’t heard back from you in a while, so I’m going to mark this thread as resolved – if you have any further questions, you can start a new thread or open a support ticket https://woocommerce.com/my-account/tickets/

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Payment Failed (subscription renewal)’ is closed to new replies.