{"_id":"5632a5e849e16d0d0012246c","version":{"_id":"5632a5e549e16d0d00122443","__v":6,"project":"55b933b3146ef121002158d3","createdAt":"2015-10-29T23:04:05.701Z","releaseDate":"2015-10-29T23:04:05.701Z","categories":["5632a5e749e16d0d00122444","5632a5e749e16d0d00122445","5632a5e749e16d0d00122446","5632a5e749e16d0d00122447","5632a5e749e16d0d00122448","5632a5e749e16d0d00122449","5632a5e749e16d0d0012244a","5632a5e749e16d0d0012244b","5632a5e749e16d0d0012244c","5632a5e749e16d0d0012244d","5632a5e749e16d0d0012244e","5632a5e749e16d0d0012244f","5632a5e749e16d0d00122450","5632b179df556c0d00cd095b","564e13053b2b4a19000cd69b","59caa9df65accc001a489c95","59cab50965accc001a489d28","59cadd464ab7b70024378e74"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.1.0","version":"1.1"},"user":"55b932ba8fd1a02b00f496c8","__v":0,"githubsync":"","project":"55b933b3146ef121002158d3","category":{"_id":"5632a5e749e16d0d00122445","project":"55b933b3146ef121002158d3","version":"5632a5e549e16d0d00122443","__v":1,"pages":["5632a5e849e16d0d00122460","5632a5e849e16d0d00122461","5632a5e849e16d0d00122462","5632a5e849e16d0d00122463","5632a5e849e16d0d00122464","5632a5e849e16d0d00122465","5632a5e849e16d0d00122466","5632a5e849e16d0d00122467","5632a5e849e16d0d00122468","5632a5e849e16d0d00122469","5632a5e849e16d0d0012246a","5632a5e849e16d0d0012246b","5632a5e849e16d0d0012246c","5632a5e849e16d0d0012246d","5632a5e849e16d0d0012246e","5632a5e849e16d0d0012246f","5632a5e849e16d0d00122470","5632a5e849e16d0d00122471","5632a5e849e16d0d00122472","5632a5e849e16d0d00122473","5632a5e849e16d0d00122474","5632a5e849e16d0d00122475","5632a5e849e16d0d00122476","5632a5e849e16d0d00122477"],"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-07-31T23:43:21.882Z","from_sync":false,"order":3,"slug":"transactions","title":"Transactions"},"parentDoc":null,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-08-03T17:51:28.893Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":12,"body":"Override a specific transaction.\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Description\"\n}\n[/block]\nThis method can be used to override a transaction that has been flagged for manager approval.\n**Currently this method applies only to electronic check transactions.**\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Syntax\"\n}\n[/block]\nboolean **overrideTransaction** ( [ueSecurityToken](/docs/uesecuritytoken) Token, integer RefNum, string Reason )\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Arguments\"\n}\n[/block]\n\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Type\",\n    \"h-1\": \"Name\",\n    \"h-2\": \"Description\",\n    \"0-0\": \"[ueSecurityToken](/docs/uesecuritytoken)\",\n    \"0-1\": \"Token\",\n    \"0-2\": \"Merchant security token: used to identify merchant and validate transaction.\",\n    \"1-0\": \"integer\",\n    \"1-1\": \"RefNum\",\n    \"1-2\": \"Transaction Reference number assigned by the gateway.\",\n    \"2-0\": \"string\",\n    \"2-1\": \"Reason\",\n    \"2-2\": \"Description of override reason. (Optional, only used with select check processors)\"\n  },\n  \"cols\": 3,\n  \"rows\": 3\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Return Value\"\n}\n[/block]\nboolean\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Examples\"\n}\n[/block]\n## C Sharp (.Net)\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"string refnum;\\n           string reason;\\n           refnum = \\\"46976525\\\";\\n           reason = \\\"Because it is test\\\";\\n           //eBizCharge.TransactionResponse response = new eBizCharge.TransactionResponse();\\n           Boolean response;\\n           try\\n           {\\n               response = client.overrideTransaction(token, refnum, reason);\\n               if (response)\\n               {\\n                   MessageBox.Show(string.Concat(\\\"Transaction was overrided successfully\\\"));\\n               }\\n               else MessageBox.Show(string.Concat(\\\"Error\\\"));\\n           }\\n           catch (Exception err)\\n           {\\n               MessageBox.Show(err.Message);\\n           }\",\n      \"language\": \"csharp\"\n    }\n  ]\n}\n[/block]\n## Visual Basic (.Net) \n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"Dim client As eBizCharge.eBizChargeService = New eBizCharge.eBizChargeService\\n       Dim token As eBizCharge.ueSecurityToken\\n       token = Me.CreateToken(\\\"714SSUxv1uohng2XkMJ7kLpETsu58G66\\\", \\\"1234\\\")\\n       Dim refnum As String\\n       refnum = 47019830\\n       Dim reason As String\\n       reason = \\\"Test\\\"\\n       Dim response As Boolean\\n       response = client.overrideTransaction(token, refnum, reason)\\n       If response = True Then\\n           MsgBox(\\\"Override Successful.\\\")\\n       Else\\n           MsgBox(\\\"An Error Occured.\\\")\\n       End If\",\n      \"language\": \"c\"\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"override-transactions","type":"basic","title":"overrideTransaction"}

overrideTransaction


Override a specific transaction. [block:api-header] { "type": "basic", "title": "Description" } [/block] This method can be used to override a transaction that has been flagged for manager approval. **Currently this method applies only to electronic check transactions.** [block:api-header] { "type": "basic", "title": "Syntax" } [/block] boolean **overrideTransaction** ( [ueSecurityToken](/docs/uesecuritytoken) Token, integer RefNum, string Reason ) [block:api-header] { "type": "basic", "title": "Arguments" } [/block] [block:parameters] { "data": { "h-0": "Type", "h-1": "Name", "h-2": "Description", "0-0": "[ueSecurityToken](/docs/uesecuritytoken)", "0-1": "Token", "0-2": "Merchant security token: used to identify merchant and validate transaction.", "1-0": "integer", "1-1": "RefNum", "1-2": "Transaction Reference number assigned by the gateway.", "2-0": "string", "2-1": "Reason", "2-2": "Description of override reason. (Optional, only used with select check processors)" }, "cols": 3, "rows": 3 } [/block] [block:api-header] { "type": "basic", "title": "Return Value" } [/block] boolean [block:api-header] { "type": "basic", "title": "Examples" } [/block] ## C Sharp (.Net) [block:code] { "codes": [ { "code": "string refnum;\n string reason;\n refnum = \"46976525\";\n reason = \"Because it is test\";\n //eBizCharge.TransactionResponse response = new eBizCharge.TransactionResponse();\n Boolean response;\n try\n {\n response = client.overrideTransaction(token, refnum, reason);\n if (response)\n {\n MessageBox.Show(string.Concat(\"Transaction was overrided successfully\"));\n }\n else MessageBox.Show(string.Concat(\"Error\"));\n }\n catch (Exception err)\n {\n MessageBox.Show(err.Message);\n }", "language": "csharp" } ] } [/block] ## Visual Basic (.Net) [block:code] { "codes": [ { "code": "Dim client As eBizCharge.eBizChargeService = New eBizCharge.eBizChargeService\n Dim token As eBizCharge.ueSecurityToken\n token = Me.CreateToken(\"714SSUxv1uohng2XkMJ7kLpETsu58G66\", \"1234\")\n Dim refnum As String\n refnum = 47019830\n Dim reason As String\n reason = \"Test\"\n Dim response As Boolean\n response = client.overrideTransaction(token, refnum, reason)\n If response = True Then\n MsgBox(\"Override Successful.\")\n Else\n MsgBox(\"An Error Occured.\")\n End If", "language": "c" } ] } [/block]