• Resolved mookie4a4

    (@mookie4a4)


    Uncaught Error: Call to a member function get_payment_method_title() on null in /wp-content/plugins/woo-stripe-payment/includes/abstract/abstract-wc-payment-gateway-stripe.php:1319 Additional context{ “error”: { “type”: 1, “file”: “\/wp-content\/plugins\/woo-stripe-payment\/includes\/abstract\/abstract-wc-payment-gateway-stripe.php”, “line”: 1319 }, “backtrace”: [ “”, “#0 \/wp-content\/plugins\/woo-stripe-payment\/includes\/abstract\/abstract-wc-stripe-payment.php(188): WC_Payment_Gateway_Stripe->save_zero_total_meta()”, “#1 \/wp-content\/plugins\/woo-stripe-payment\/includes\/traits\/wc-stripe-payment-traits.php(144): WC_Stripe_Payment->process_zero_total_order()”, “#2 \/dev2016\/wp-content\/plugins\/woo-stripe-payment\/includes\/abstract\/abstract-wc-payment-gateway-stripe.php(407): WC_Payment_Gateway_Stripe_CC->process_zero_total_order()”, “#3 \/wp-content\/plugins\/woocommerce\/includes\/class-wc-checkout.php(1062): WC_Payment_Gateway_Stripe->process_payment()”, “#4 \/dev2016\/wp-content\/plugins\/woocommerce\/includes\/class-wc-checkout.php(1291): WC_Checkout->process_order_payment(” ] }

    I get this error whilst testing using YITH Subscriptions plugin and offering a free trail for a sub. Just thought I’d share this with you guys.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You cant make it 0 price, you can make an order price with free trial x days, that wont take money until trial ends. Check your orders in wordpress admin > woocommerce > orders and you will see that its not allowed because its lower than minimum price.

    Thread Starter mookie4a4

    (@mookie4a4)

    Hello

    Ah yes I see you have to charge a signup fee if you want a free trial option. I was hoping you could do what like the big streaming companies do and only charge after 1 month but I guess that requires deeper intergration.

    Cheers for your response!

    You can make it free to sign up, but you must add free trial period for that and you must add a price greater than 0.

    For example if you want 10 usd per month but free to signup, add for example 3 day free trial and make the price 10 usd. That way they will not charged for the signup, they will be charged 10 usd after 3 days and they will be subscribed monthly.

    Plugin Author Payment Plugins

    (@mrclayton)

    @mookie4a4 I would recommend that you use the WooCommerce Subscriptions plugin as we have specifically coded support for that integration. I also believe that is the best subscription plugin available for WooCommerce.

    Kind Regards

    Thread Starter mookie4a4

    (@mookie4a4)

    Ok thanks, I’ll switch to the Woo Subscription plugin if you guys support it then.
    Very thankful for your plugin after moving both paypal and stripe over to you guys so keen to keep the checkout the same.
    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Error On Payment with Zero Value’ is closed to new replies.