Title: Payment response codes
Last modified: September 5, 2019

---

# Payment response codes

 *  Resolved [Robin](https://wordpress.org/support/users/robinrsa/)
 * (@robinrsa)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/payment-response-codes/)
 * I am wanting to retrieve the `cvv_status` and `avs_status` from Square, is there
   any function within the plugin that can extend to get this data? Or would I need
   to go via the API separately? This data isn’t that “critical” compared to some
   of the other data that is stored, so it would be good to have the possibility
   of this data…
 * `cvv_status`
 * > **Type: **string
   >  Status code returned from the Card Verification Value (CVV)
   > check. Can be CVV_ACCEPTED, CVV_REJECTED, CVV_NOT_CHECKED.
 * `avs_status`
 * > **Type: **string
   >  Status code returned from the Address Verification System(
   > AVS) check. Can be AVS_ACCEPTED, AVS_REJECTED, AVS_NOT_CHECKED.

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

 *  [Mike W](https://wordpress.org/support/users/nixiack8/)
 * (@nixiack8)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/payment-response-codes/#post-11941797)
 * Hi [@robinrsa](https://wordpress.org/support/users/robinrsa/),
 * There are `cvv_status` and `avs_status` items in the Square logs, pulled within
   the API as seen in this doc:
 * [https://developer.squareup.com/docs/api/connect/v2#endpoint-payments-listpayments](https://developer.squareup.com/docs/api/connect/v2#endpoint-payments-listpayments)
 * This means you would need to go via the API separately. You should be able to
   reach out to Square for more on this.
 *  [Mike W](https://wordpress.org/support/users/nixiack8/)
 * (@nixiack8)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/payment-response-codes/#post-11976241)
 * Hi [@robinrsa](https://wordpress.org/support/users/robinrsa/),
 * I am going to close this thread as you will need to reach out to Square if you
   have not yet. If you have any other questions please open a new thread and let
   us know!

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

The topic ‘Payment response codes’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-square/assets/icon-256x256.png?rev=3234354)
 * [WooCommerce Square](https://wordpress.org/plugins/woocommerce-square/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-square/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-square/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-square/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-square/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-square/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Mike W](https://wordpress.org/support/users/nixiack8/)
 * Last activity: [6 years, 8 months ago](https://wordpress.org/support/topic/payment-response-codes/#post-11976241)
 * Status: resolved