• Resolved Olivia

    (@metadigitalnz)


    Hi, we have an issue on our site. Braintree initially failed to process a subscription renewal due to insufficient funds, but a later re-attempt was processed fine. However in Woocommerce this subscription order is still showing as failed?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Payment Plugins

    (@mrclayton)

    Hi @metadigitalnz

    Are you using the plug-in’s built-in subscription functionality or the WooCommerce Subscriptions plug-in?

    Kind regards

    Thread Starter Olivia

    (@metadigitalnz)

    Hi, we’re using Woocommerce subscriptions for this functionality ??

    Plugin Author Payment Plugins

    (@mrclayton)

    Hi @metadigitalnz,

    When a renewal payment is processed successfully, the Braintree plugin always calls the WC_Order::payment_complete method which performs all of the status updates etc. I’d recommend checking your WooCommerce logs and see if there was an error triggered, perhaps by a 3rd party plugin that might have interfered with the subscription’s status updating.

    Kind Regards,

    Thread Starter Olivia

    (@metadigitalnz)

    Thanks I have checked but there is nothing in the logs to indicate an issue. I can see the details in the wc-braintree log, but there are no error logs that contain any relevant information.

    Thread Starter Olivia

    (@metadigitalnz)

    Hi is there any follow up to this?

    Plugin Author Payment Plugins

    (@mrclayton)

    @metadigitalnz does the renewal order have a transaction ID associated with it?

    It seems like this isn’t related to the Braintree plugin.

    Kind regards

    Thread Starter Olivia

    (@metadigitalnz)

    Yes, there is a transaction ID in Braintree, it just seems like the confirmation of the payment being made on the second attempt wasn’t passed back to Woocommerce.

    Plugin Author Payment Plugins

    (@mrclayton)

    @metadigitalnz since the renewal order has a transaction ID that means the Braintree plugin correctly called the WC_Order::payment_complete function. That function controls the renewal order’s status and consequently the Subscription’s status.

    I don’t see that there’s any issue with the Braintree plugin.

    Kind regards

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Subscription shows as failed when Braintree processed payment okay?’ is closed to new replies.