Support » Plugin: Braintree for WooCommerce Payment Gateway » Save the payment method when the checkout total is zero

  • Resolved alifallahrn

    (@alifallahrn)


    We use the subscription plugin. We want to have a subscription product of Trial type that the user does not pay for the purchase, but can save his credit card/paypal information in the checkout form so that payment will be made automatically when the renewal order is issued.
    But when the total price of the shopping cart is zero, the payment gateway form is not given and for this reason, after the purchase, the subscription payment method is set to “manual renewal” and the user must renew it manually.
    What solution do we have?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter alifallahrn

    (@alifallahrn)

    If the “Allow $ 0 initial checkout without a payment method.” Option is enabled in the Woocommerce Subscription plugin settings, no payment method will be displayed on the checkout page when the total amount is zero.

    But if the option “Allow $ 0 initial checkout without a payment method” is off, when the total amount is zero, the payment form is displayed, but after entering the credit card / paypal information, we receive this error.

    https://tinyimg.io/i/irJnvI5.png

    Hey @alifallahrn!

    Thanks for getting in touch with us about Braintree for WooCommerce! I’m sorry to hear that the plugin isn’t working as expected. I’m happy to help out here.

    To kick off our research into your question or issue, would you please enable gateway logging?

    1. From your WordPress dashboard, go to WooCommerce > Settings > Payments.
    2. Find the payment method and click Manage.
    3. Change the Debug Mode field to “Save to Log”.
    4. Click Save Changes.

    Nest, please attempt another test order. To gather the logs, would you please follow the below steps?

    1. Head to WooCommerce > Status > Logs.
    2. Choose the gateway log from the dropdown and click the “View” button to display the log. Please note that the log may be in UTC/GMT time, so it may be offset by a few hours.
    3. Copy and paste the log into Snippi.com and share the resulting link.

    If you prefer to share this information privately, would you please reach out to us directly via the contact form on our website or directly using our support@skyverge.com email address. Please make sure to mention this forum thread!

    Best,
    Erica

    Hey @alifallahrn,

    It has been a long time since we heard from you, so I’m going to mark this topic as resolved.

    If you’re still experiencing issues please take a look at our documentation for more information and create a new thread if you have further questions.

    Thanks,
    Erica:)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Save the payment method when the checkout total is zero’ is closed to new replies.