I'm using iOS 7 with the Authorize.NET iOs library and I can't get transactions over 999 to process. Doesn't anyone have a clue why? I've tried several different ways of formatting. I don't get any error other than processing failed.
TransactionRequestType*requestType =[TransactionRequestType transactionRequest];requestType.lineItems = lineItems; requestType.amount =[[authNetNumFmt stringFromNumber:_total] stringByReplacingOccurrencesOfString:@"$" withString:@""];requestType.amount =[[authNetNumFmt stringFromNumber:_total] stringByReplacingOccurrencesOfString:@"," withString:@""]; requestType.payment = paymentType;// Required for card present transactions.requestType.retail =[TransRetailInfoType transRetailInfoType];requestType.retail.marketType = MARKET_TYPE_RETAIL;requestType.retail.deviceType = DEVICE_TYPE_UNKNOWN;CreateTransactionRequest*request =[CreateTransactionRequest createTransactionRequest];request.anetApiRequest.merchantAuthentication.name = sessionManager.authNetLoginId; request.anetApiRequest.merchantAuthentication.transactionKey = sessionManager.authNetTransactionKey; request.transactionRequest = requestType;request.transactionType = AUTH_CAPTURE;[authNetInstance purchaseWithRequest:request];//pass with 999 but fail with 1000
Hello @sp1012
Are you using the sandbox or a live production or a live production account? When you submit $999, is a transaction ID returned?
Richard
06-17-2014 03:33 PM
06-17-2014 03:46 PM
And you try hard coding the .amount to @"1000.00";, and not your code?
06-17-2014 04:48 PM
requestType.amount =[[authNetNumFmt stringFromNumber:_total] stringByReplacingOccurrencesOfString:@"$" withString:@""];
requestType.amount =[[authNetNumFmt stringFromNumber:_total] stringByReplacingOccurrencesOfString:@"," withString:@""];
//
requestType.amount = @"1000";
Both of the above succeed with 999, but fail with 1000
06-18-2014 04:27 AM
You might have to debug it to see what the xml it was tryting to send. or can you capture the http traffic?
06-18-2014 08:41 AM
If this problem occurs in your production account, it may be a limit imposed by your merchant service provider. I would recommend a discussion with them.
My next suggestion would be to duplicate this in the Sandbox. This would allow us to examine the transaction details more closely.
Also, which version of the iOS SDK are you using? Our latest version is available on GitHub: https://github.com/AuthorizeNet/sdk-mpos-ios
Richard
06-18-2014 08:49 AM - edited 06-18-2014 10:18 AM