Computop / Computop-iOS

1 stars 3 forks source link

Payment Transaction failed! #2

Open gabi579510 opened 7 years ago

gabi579510 commented 7 years ago

Hello, I'm trying to integrate Computop in a iOS project but after selecting an option from TableView the checkoutDidFailToAuthorizePaymentForPaymentData is called and the error is :

"Error Domain=com.computop.sdk Code=20000000 "Unspecified | Unspecified problem which needs to be analysed manually, please contact Computop support." UserInfo={PaygateStatusCode=2, PaygateStatusCodeDescription=Error | Transaction failed, NSLocalizedDescription=Unspecified | Unspecified problem which needs to be analysed manually, please contact Computop support., NSLocalizedFailureReason=}"

Any ideas? P.S. CMPConfiguration.authURL = @"https://www.computop-paygate.com/authtoken.aspx"; in AppDelegate! Also merchantID is completed in AppDelegate!

nobreak commented 6 years ago

Is the spelling of your response from the auth server right? Especially the attribute name should be right, e.g. "AuthToken" , not "authtoken"