Created
March 24, 2012 16:58
-
-
Save pulkitsinghal/2185091 to your computer and use it in GitHub Desktop.
Incorrect usage of "API Login ID" & "Transaction Key" as name / password
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @implementation MerchantAuthenticationType | |
| ... | |
| @synthesize name; | |
| @synthesize transactionKey; | |
| @synthesize sessionToken; | |
| @synthesize password; | |
| @synthesize mobileDeviceId; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 2012-03-22 17:01:11.017 Reachability Flag Status: -R -----l- networkStatusForFlags | |
| 2012-03-22 17:01:25.446 Reachability Flag Status: -R -----l- networkStatusForFlags | |
| 2012-03-22 17:01:25.448 Create Transaction Request: | |
| <?xml version="1.0" encoding="utf-8"?> | |
| <createTransactionRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"> | |
| <merchantAuthentication> | |
| <mobileDeviceId>XXX_XXX_XXX_XXX_XXX</mobileDeviceId> | |
| </merchantAuthentication> | |
| <transactionRequest> | |
| <transactionType>authCaptureTransaction</transactionType> | |
| <amount>1.00</amount> | |
| <payment> | |
| <creditCard> | |
| <cardNumber>4111111111111111</cardNumber> | |
| <expirationDate>1212</expirationDate> | |
| <cardCode>100</cardCode> | |
| </creditCard> | |
| </payment> | |
| <order/> | |
| <lineItems> | |
| <lineItem> | |
| <itemId>1</itemId> | |
| <name>Soda</name> | |
| <description>Soda</description> | |
| <quantity>1</quantity> | |
| <unitPrice>1.00</unitPrice> | |
| <taxable>false</taxable> | |
| </lineItem> | |
| </lineItems> | |
| <tax> | |
| <amount>0</amount> | |
| <name>Tax</name> | |
| </tax> | |
| <shipping> | |
| <amount>0</amount> | |
| <name>Shipping</name> | |
| </shipping> | |
| <customer/> | |
| <billTo/> | |
| <shipTo/> | |
| <transactionSettings/> | |
| <userFields/> | |
| </transactionRequest> | |
| </createTransactionRequest> | |
| 2012-03-22 17:01:26.530 Create Transaction response | |
| 2012-03-22 17:01:26.531 <?xml version="1.0" encoding="utf-8"?> | |
| <mobileDeviceLoginResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"> | |
| <messages> | |
| <resultCode>Error</resultCode> | |
| <message> | |
| <code>E00007</code> | |
| <text>User authentication failed due to invalid authentication values.</text> | |
| </message> | |
| </messages> | |
| </mobileDeviceLoginResponse> | |
| namespace warning : xmlns: URI AnetApi/xml/v1/schema/AnetApiSchema.xsd is not absolute | |
| ttp://www.w3.org/2001/XMLSchema" xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd" | |
| ^ | |
| 2012-03-22 17:01:26.539 Error = (null) | |
| 2012-03-22 17:01:26.540 Message: | |
| Message.code = E00007 | |
| Message.text = User authentication failed due to invalid authentication values. | |
| Message.description = (null) | |
| 2012-03-22 17:01:26.541 Messages: | |
| Messages.resultCode = Error | |
| Messages.message = ( | |
| "Message.code = E00007 | |
| Message.text = User authentication failed due to invalid authentication values. | |
| Message.description = (null)" | |
| ) | |
| 2012-03-22 17:01:26.541 Messages: | |
| Messages.resultCode = (null) | |
| Messages.message = ( | |
| ) | |
| 2012-03-22 17:01:26.542 SplitTenderPayment = SplitTenderPayment.transId = (null) | |
| SplitTenderPayment.responseCode = (null) | |
| SplitTenderPayment.responseToCustomer = (null) | |
| SplitTenderPayment.authCode = (null) | |
| SplitTenderPayment.accountNumber = (null) | |
| SplitTenderPayment.accountType = (null) | |
| SplitTenderPayment.requestedAmount = (null) | |
| SplitTenderPayment.approvedAmount = (null) | |
| SplitTenderPayment.balanceOnCard = (null) | |
| 2012-03-22 17:01:26.542 CreateTransactionResponse: | |
| createTransactionResponse.anetAPIResponse = ANetApiResponse.refId = (null) | |
| ANetApiResponse.messages = Messages.resultCode = Error | |
| Messages.message = ( | |
| "Message.code = E00007 | |
| Message.text = User authentication failed due to invalid authentication values. | |
| Message.description = (null)\n" | |
| ) | |
| createTransactionResponse.transactionResponse = TransactionResponse.responseCode = (null) | |
| TransactionResponse.authCode = (null) | |
| TransactionResponse.avsResultCode = (null) | |
| TransactionResponse.cvvResultCode = (null) | |
| TransactionResponse.cavvResultCode = (null) | |
| TransactionResponse.transId = (null) | |
| TransactionResponse.refTransID = (null) | |
| TransactionResponse.transHash = (null) | |
| TransactionResponse.testRequest = (null) | |
| TransactionResponse.accountNumber = (null) | |
| TransactionResponse.accountType = (null) | |
| TransactionResponse.splitTenderId = (null) | |
| TransactionResponse.messages = Messages.resultCode = (null) | |
| Messages.message = ( | |
| ) | |
| TransactionResponse.errors = ( | |
| ) | |
| TransactionResponse.splitTenderPayment = SplitTenderPayment.transId = (null) | |
| SplitTenderPayment.responseCode = (null) | |
| SplitTenderPayment.responseToCustomer = (null) | |
| SplitTenderPayment.authCode = (null) | |
| SplitTenderPayment.accountNumber = (null) | |
| SplitTenderPayment.accountType = (null) | |
| SplitTenderPayment.requestedAmount = (null) | |
| SplitTenderPayment.approvedAmount = (null) | |
| SplitTenderPayment.balanceOnCard = (null) | |
| TransactionResponse.userFields = ( | |
| ) | |
| createTransactionResponse.sessionToken = (null) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ cd ~/dev/myProject | |
| $ clear && tree -L 2 | |
| . | |
| ├── MyProject/ | |
| │ ├── MyProject-Info.plist | |
| │ ├── MyProject-Prefix.pch | |
| │ ├── MyProject_AppDelegate.h | |
| │ ├── MyProject_AppDelegate.m | |
| │ └── ... | |
| ├── MyProject.xcdatamodeld/ | |
| │ └── ... | |
| ├── MyProject.xcodeproj/ | |
| │ ├── project.pbxproj | |
| │ ├── project.xcworkspace/ | |
| │ └── xcuserdata/ | |
| ├── anet_ios_sdk-1.0.0/ | |
| │ ├── ANMobilePaymentLib/ | |
| │ ├── ANMobilePaymentLib.xcodeproj | |
| │ ├── ANMobilePaymentLib_Prefix.pch | |
| │ └── ... | |
| └── ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <mobileDeviceLoginResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"> | |
| <messages> | |
| <resultCode>Error</resultCode> | |
| <message> | |
| <code>E00007</code> | |
| <text>User authentication failed due to invalid authentication values.</text> | |
| </message> | |
| </messages> | |
| </mobileDeviceLoginResponse> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment