Reply
Highlighted
Member
Posts: 3
Registered: ‎06-17-2014

Unable to process iOS transaction < 999

[ Edited ]

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
Highlighted
Posts: 2,765
Topics: 57
Kudos: 248
Blog Posts: 67
Registered: ‎12-05-2011

Re: Unable to process iOs transaction < 999

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

Highlighted
Member
Posts: 3
Registered: ‎06-17-2014

Re: Unable to process iOs transaction < 999

We are in a live production mode -- we receive a transaction ID for 999 but a processing failure at 1000.
Highlighted
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: Unable to process iOs transaction < 999

And you try hard coding the .amount to @"1000.00";, and not your code?

Highlighted
Member
Posts: 3
Registered: ‎06-17-2014

Re: Unable to process iOs transaction < 999

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
Highlighted
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: Unable to process iOs transaction < 999

You might have to debug it to see what the xml it was tryting to send. or can you capture the http traffic?

Highlighted
Posts: 2,765
Topics: 57
Kudos: 248
Blog Posts: 67
Registered: ‎12-05-2011

Re: Unable to process iOs transaction < 999

[ Edited ]

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