• Resolved Mushi

    (@mubashiriqbal)


    Hi,

    Order placement is taking around 20 seconds on our checkout with your plugin. Can you please help how we can reduce this time?

    Is it possible that if a user places an order then don’t wait for the Braintree response in order to mark the order complete Instead defer this until the user land on the thank you page?

    Our main objective is to reduce the checkout order time. Any suggestion in his regard would be highly appreciated.

    Thank You
    Mushi

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Mushi

    (@mubashiriqbal)

    We are using WooComemrce Subscription plugin with your plugin with “Braintree CC” and “Braintree PayPal” payment methods

    Plugin Author Payment Plugins

    (@mrclayton)

    Order placement is taking around 20 seconds on our checkout with your plugin. Can you please help how we can reduce this time?

    Have you run performance metrics and determined it’s actually the Braintree plugin? It’s most likely all of the processes associated with the WC_Order::payment_complete method. That method triggers actions and filters by WooCommerce that many plugins listen for and that’s usually where performance issues show up.

    Is it possible that if a user places an order then don’t wait for the Braintree response in order to mark the order complete Instead defer this until the user land on the thank you page?

    How would you handle cases where the payment fails? You would be showing the customer their payment was successful even though it might not be. That doesn’t sound like a great user experience and could lead to some very upset customers.

    I don’t think the performance issues are related to the Braintree plugin.

    Thread Starter Mushi

    (@mubashiriqbal)

    Hi @mrclayton

    Can you please suggest how we can calculate the Braintree response time and what performance metrics would you suggest for this?

    Thanks
    Mushi

    Plugin Author Payment Plugins

    (@mrclayton)

    Hi @mubashiriqbal,

    New Relic seems to provide some good metrics.

    https://docs.newrelic.com/docs/agents/php-agent/frameworks-libraries/wordpress-specific-functionality/

    When I process a payment on my test site, it takes less than a second as a point of reference. I also have minimal plugins installed which is further evidence it’s not related to the Braintree plugin.

    Kind Regards,

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Braintree Response Time’ is closed to new replies.