Integration and Testing

Authorize.Net API questions and help with your payment integration.

Reply
Member
Posts: 2
Registered: ‎01-10-2017

Crash in Accept SDK for iOS.

Hi all,

 

Language Used - Objective c

Xcode version - 8.2.1

iOS Version - 10.2

 

I am implementing Accept SDK for iOS in my Xcode project and i've intiallized

AcceptSDKRequest and 

AcceptSDKHandler class objects and assigned 

client name, client key, card number, card expiry date, and card code, to it's respective object.

and code is in Test environment.

After that i'm requesting a token with method called getTokenWithRequest And it is CRASHING without any error OR exception with exc_bad_access code=1 address

 

Please look into the issue as i'm following the same order as the below link with objective c code.

 

https://github.com/AuthorizeNet/accept-sdk-ios

Member
Posts: 2
Registered: ‎01-10-2017

Re: Crash in Accept SDK for iOS.

Hi guys, Any suggestion?
All Star
Posts: 699
Registered: ‎11-03-2016

Re: Crash in Accept SDK for iOS.

Hi @srujank40088,

 

I can't give you any specific advice without seeing all your code. I'm not aware of any known issues with memory deallocation in the SDK code. I can however point you to this article on troubleshooting EXC_BAD_ACCESS here: http://loufranco.com/blog/understanding-exc_bad_access. It's older but should still be correct.

 

If you determine that the bug is located anywhere in our code, please let us know here or by filing an issue on the GitHub project page.

Highlighted
Member
Posts: 1
Registered: ‎03-02-2017

Re: Crash in Accept SDK for iOS.

@Aaron this very simple Objective-C implementation crashes on line 25 https://gist.github.com/davidolesch/266a4553897386a800e7e5e00113cf8b

Member
Posts: 1
Registered: ‎03-13-2017

Re: Crash in Accept SDK for iOS.

Hi!

Did you find solution? I've got the same problem