Title: gateway error logs
Last modified: April 6, 2021

---

# gateway error logs

 *  Resolved [ulpher](https://wordpress.org/support/users/ulpher/)
 * (@ulpher)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/gateway-error-logs/)
 * I was getting the below 422 error, since the billing address was more than 50
   characters.
 * {“error”:{“message”:”Billing line1 format is invalid.\nShipping line1 format 
   is invalid.”},”threeDSecureInfo”:{“liabilityShifted”:false,”liabilityShiftPossible”:
   false}}
 * Is there a way to get access to these kind of error logs from the server, so 
   that I would know if anything similar happens? After contacting Braintree, they
   said that these errors are immediately available at my site.
 * Thank you

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [Steve](https://wordpress.org/support/users/skyvergesteve/)
 * (@skyvergesteve)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/gateway-error-logs/#post-14289665)
 * Hey [@ulpher](https://wordpress.org/support/users/ulpher/),
 * Thanks for contacting us about our Braintree for WooCommerce plugin! I’m happy
   to help out 🙂
 * You can get the error logs from the site by enabling logging for the gateway.
   This can be enabled by going to **WooCommerce > Settings > Payments > Braintree**
   and changing the Debug Mode setting to save to log.
 * Once this is enabled, you can find the log files in **WooCommerce > Status > 
   Logs**. The log file will be in a base64 encoded string, so you will need to 
   decode it with a tool such as [https://www.base64decode.org/](https://www.base64decode.org/).
 * Can you please let me know if this helps to get the logging set up for you?
 * Cheers,
 * Steve
    SkyVerge
 *  Thread Starter [ulpher](https://wordpress.org/support/users/ulpher/)
 * (@ulpher)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/gateway-error-logs/#post-14292136)
 * Hi [@skyvergesteve](https://wordpress.org/support/users/skyvergesteve/)
 * Thanks for your reply. I was aware of that config and the logs location, but 
   unfortunately the error mentioned was not being logged. For the day that the 
   error was known to be happening, there are only INFO logs like ‘INFO Processing
   payment for order ??’.
 * That error got triggered since ‘streetAddress’ had more than 50 characters. I
   believe this is a response to the 3DS ‘verifyCard’ method. I only found out the
   specifics after contacting Braintree support as the error displayed to the client
   was much more generic: “The data passed to the 3D Secure provider was in an invalid
   format. Please check your entries for invalid values”.
 * Plugin version I am running is 3.1.8. Maybe there were improvements since? But
   I didn’t see anything related in the release notes.
 * Thanks
 *  [Steve](https://wordpress.org/support/users/skyvergesteve/)
 * (@skyvergesteve)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/gateway-error-logs/#post-14298545)
 * Hey [@ulpher](https://wordpress.org/support/users/ulpher/)
 * Thanks for clarifying that. You mentioned that you are running 3.1.8, are you
   using the Braintree plugin from here:
 * [https://wordpress.org/plugins/woo-payment-gateway](https://wordpress.org/plugins/woo-payment-gateway)
 * Or this one:
 * [https://wordpress.org/plugins/woocommerce-gateway-paypal-powered-by-braintree/](https://wordpress.org/plugins/woocommerce-gateway-paypal-powered-by-braintree/)
 * Just want to make sure we are referring to the same plugin 🙂
 * Cheers,
 * Steve
    SkyVerge
 *  Thread Starter [ulpher](https://wordpress.org/support/users/ulpher/)
 * (@ulpher)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/gateway-error-logs/#post-14298652)
 * Hey Steve,
 * I’m referring to woo-payment-gateway, my mistake. Sorry to have wasted your time!
 * Regards
 *  [Steve](https://wordpress.org/support/users/skyvergesteve/)
 * (@skyvergesteve)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/gateway-error-logs/#post-14299198)
 * Hey [@ulpher](https://wordpress.org/support/users/ulpher/)
 * No worries! You may want to reach out to their support forum on this and see 
   if they can offer any assistance for you 🙂
 * Cheers,
 * Steve
    SkyVerge

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘gateway error logs’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-gateway-paypal-powered-by-braintree/assets/icon-
   256x256.png?rev=3234800)
 * [Braintree for WooCommerce Payment Gateway](https://wordpress.org/plugins/woocommerce-gateway-paypal-powered-by-braintree/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-gateway-paypal-powered-by-braintree/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-gateway-paypal-powered-by-braintree/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-gateway-paypal-powered-by-braintree/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-gateway-paypal-powered-by-braintree/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-gateway-paypal-powered-by-braintree/reviews/)

## Tags

 * [Logs](https://wordpress.org/support/topic-tag/logs/)

 * 5 replies
 * 2 participants
 * Last reply from: [Steve](https://wordpress.org/support/users/skyvergesteve/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/gateway-error-logs/#post-14299198)
 * Status: resolved