- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
When you send an api request to the Register Web api with the state set the value doens't seem to be returned when there is an error (ie declined card or canceled payment). It works fine if the card is proccessed and a transaction is returned though. Is there a way we can get that information passed back to us even on error? Without it we have no way of aligning the error to an active ticket in our system.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
Hi squarebean - are you referring to the com.squareup.register.RESULT_REQUEST_METADATA parameter? This should be returned in both success and error cases. If you are not seeing it on error, we'll pass this feedback to our engineering team to investigate.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
No we are using the method descripbed here https://docs.connect.squareup.com/articles/register-api-ios.
state |
string |
Optional. If you provide this value, it's included in Square Register's response to your app after the payment completes. Use this parameter to associate any helpful state information with the payment request. |
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
Thank you for clarifying. We are not able to reproduce the issue on our end, so are reaching out to you via email to get more details. Thank you!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report