AbleCommerce Forums
»
AbleCommerce
»
General Questions
»
Braintree Payments Slow (~17-19 seconds to complete order)
Rank: Member
Groups: Authorized User, Developers, Registered Joined: 11/2/2021(UTC) Posts: 13
|
Hi AC - We just went live with an updated store yesterday (ver 9.0.6.7222) and are using Braintree payment gateway in production mode. When paying via credit card and Apple Pay, the transactions take 17-19 seconds to complete. When testing this locally on my VM and local DB server using the Sandbox Braintree implementation, the time after hitting submit to see the order confirmation screen is ~5 seconds. Have you seen this behavior before? We do not have debugging turned on in the settings area, and have tested multiple orders and devices, all of which behave this way. I tried rebooting the server to reduce the chance there was some temporary issues, but the problem persists. I did run inspector tools and watched the network traffic which shows the path /Checkout/_CreditCardPaymentForm/149?Length=8 is the process consuming that time, and shows 'waiting for server response' as the most time intensive process (I have screenshots but don't see a way to attach them here). Thank you for your help; this amount of time will be confusing for end users and cause issues so I'm eager to get it resolved quickly. Thanks, Greg Edited by user Monday, October 3, 2022 11:42:23 PM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Member
Groups: Authorized User, Developers, Registered Joined: 11/2/2021(UTC) Posts: 13
|
Hi AC -
Just pinging this thread to try and get some sort of update, if possible.
Thanks, Greg
|
|
|
|
Rank: Advanced Member
Groups: Admin, Developers, Registered, HelpDesk, Authorized User Joined: 10/5/2018(UTC) Posts: 704
Thanks: 5 times Was thanked: 113 time(s) in 112 post(s)
|
Hi,
I did a test using sandbox details and got the response within 5 seconds. I am not able to test with the production environment. I suspect the Braintree server is taking the time.
On the final checkout page, open the browser console before the FINAL CHECKOUT. Click the button and see when a nonce value appears in the console logs. AC backend processing starts after we got the nonce value from the Braintree server.
|
|
|
|
Rank: Member
Groups: Authorized User, Developers, Registered Joined: 11/2/2021(UTC) Posts: 13
|
Hi Shaharyar -
After clicking 'Complete Order', it takes about 1-2 seconds for the nonce value to appear in the console. Does this mean that the interaction with Braintree is complete at that point, and it's all AC processing from there until the user is redirected to order completion receipt?
Thanks, Greg
|
|
|
|
Rank: Member
Groups: Authorized User, Developers, Registered Joined: 11/2/2021(UTC) Posts: 13
|
Hello -
We sorted this out. It turns out that we had an inefficient use of custom fields data that caused a major slowdown when in production. All is good now - thanks for the help!
Greg
|
|
|
|
AbleCommerce Forums
»
AbleCommerce
»
General Questions
»
Braintree Payments Slow (~17-19 seconds to complete order)
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The AbleCommerce Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close