Skip to main content
Question

Error enumerating unfinished transactions for first transaction listener


Forum|alt.badge.img+3

Error enumerating unfinished transactions for first transaction listener: Error Domain=ASDErrorDomain Code=500 "(null)" UserInfo={client-environment-type=Sandbox, storefront-country-code=GBR, NSUnderlyingError=0x600000c02dc0 {Error Domain=AMSErrorDomain Code=2 "Finance Authentication Error" UserInfo={NSLocalizedDescription=Finance Authentication Error, AMSURL=https://mzstorekit-sb.itunes.apple.com/inApps/v1/history?guid=7666DF87F208&reason=initial, AMSStatusCode=401, NSLocalizedFailureReason=No delegate to perform authentication: <AMSAuthenticateRequest: 0x600000c0f4b0> {

  account = jerichomiles6@gmail.com (78985344-F6FD-42AD-BCEB-DF36B39D9837),

  logKey = 1379CD2F,

  options = <AMSAuthenticateOptions: 0x600003b408c0> {

  AMSAuthenticateOptionsAllowPasswordGeneration = 0,

  AMSAuthenticateOptionsAllowSecondaryCredentialSource = 0,

  AMSAuthenticateOptionsAllowServerDialogs = 0,

  AMSAuthenticateOptionsAuthenticationTypeKey = 1,

  AMSAuthenticateOptionsCanMakeAccountActiveKey = 0,

  AMSAuthenticateOptionsClientInfo = {length = 983, bytes = 0x62706c69 73743030 d4010203 04050607 ... 00000000 0000033d },

  AMSAuthenticateOptionsCredentialSourceKey = 0,

  AMSAuthenticateOptionsDebugReason = no dialogResponse in AMSFinanceAuthenticateResponse,

  AMSAuthenticateOptionsDelegateAuthEnabledKey = 0,

  AMSAuthenticateOptionsEnableAccountCreationKey = 0,

  AMSAuthenticateOptionsEphemeralKey = 0,

  AMSAuthenticateOptionsForceSyncToPairedWatchKey = 0,

  AMSAuthenticateOptionsIgnoreAccountConversion = 0,

  AMSAuthenticateOptionsLogKeyKey = 1379CD2F,

  AMSAuthenticateOptionsRemoteProxyAuthenticationKey = 0,

  AMSAuthenticateOptionsServiceType = 2,

},

}}}}

 

The offerings load fine but it’s impossible to make a successful purchase. I’m using flutter and testing on ios using a sandbox environment in xcode with storekit.

12 replies

Forum|alt.badge.img+8
  • RevenueCat Staff
  • 430 replies
  • December 8, 2023

Solving internally via support ticket, will update with resolution here


Forum|alt.badge.img+2
  • New Member
  • 1 reply
  • December 14, 2023

Also seeing this while testing, app fails to launch and gets stuck on this:
 

Error enumerating unfinished transactions for first transaction listener: Error Domain=ASDErrorDomain Code=500 "(null)" UserInfo={client-environment-type=Sandbox, storefront-country-code=USA, NSUnderlyingError=0x600000d95b60 {Error Domain=AMSErrorDomain Code=2 "Finance Authentication Error" UserInfo={NSLocalizedDescription=Finance Authentication Error, AMSURL=https://mzstorekit-sb.itunes.apple.com/inApps/v1/history?guid=E157946179C8&reason=initial, AMSStatusCode=401, NSLocalizedFailureReason=No delegate to perform authentication: <AMSAuthenticateRequest: 0x600000c6a5b0> {

  account = josechancho@jose.org (A313B578-45D0-4E93-80A3-D12EB429EF40),

  logKey = 251C8AE3,

  options = <AMSAuthenticateOptions: 0x600003b20c40> {

  AMSAuthenticateOptionsAllowPasswordGeneration = 0,

  AMSAuthenticateOptionsAllowSecondaryCredentialSource = 0,

  AMSAuthenticateOptionsAllowServerDialogs = 0,

  AMSAuthenticateOptionsAuthenticationTypeKey = 1,

  AMSAuthenticateOptionsCanMakeAccountActiveKey = 0,

  AMSAuthenticateOptionsClientInfo = {length = 987, bytes = 0x62706c69 73743030 d4010203 04050607 ... 00000000 00000341 },

  AMSAuthenticateOptionsCredentialSourceKey = 0,

  AMSAuthenticateOptionsDebugReason = no dialogResponse in AMSFinanceAuthenticateResponse,

  AMSAuthenticateOptionsDelegateAuthEnabledKey = 0,

  AMSAuthenticateOptionsEnableAccountCreationKey = 0,

  AMSAuthenticateOptionsEphemeralKey = 0,

  AMSAuthenticateOptionsForceSyncToPairedWatchKey = 0,

  AMSAuthenticateOptionsIgnoreAccountConversion = 0,

  AMSAuthenticateOptionsLogKeyKey = 251C8AE3,

  AMSAuthenticateOptionsRemoteProxyAuthenticationKey = 0,

  AMSAuthenticateOptionsServiceType = 2,

},

}}}}

Error enumerating unfinished transactions: Error Domain=ASDErrorDomain Code=500 "(null)" UserInfo={NSUnderlyingError=0x600000cab0f0 {Error Domain=AMSErrorDomain Code=2 "Finance Authentication Error" UserInfo={NSLocalizedDescription=Finance Authentication Error, AMSURL=https://mzstorekit-sb.itunes.apple.com/inApps/v1/history?guid=E157946179C8&reason=initial, AMSStatusCode=401, NSLocalizedFailureReason=No delegate to perform authentication: <AMSAuthenticateRequest: 0x600000c6c5a0> {

  account = josechancho@jose.org (A313B578-45D0-4E93-80A3-D12EB429EF40),

  logKey = 251C8AE3,

  options = <AMSAuthenticateOptions: 0x600003b2ce00> {

  AMSAuthenticateOptionsAllowPasswordGeneration = 0,

  AMSAuthenticateOptionsAllowSecondaryCredentialSource = 0,

  AMSAuthenticateOptionsAllowServerDialogs = 0,

  AMSAuthenticateOptionsAuthenticationTypeKey = 1,

  AMSAuthenticateOptionsCanMakeAccountActiveKey = 0,

  AMSAuthenticateOptionsClientInfo = {length = 987, bytes = 0x62706c69 73743030 d4010203 04050607 ... 00000000 00000341 },

  AMSAuthenticateOptionsCredentialSourceKey = 0,

  AMSAuthenticateOptionsDebugReason = no dialogResponse in AMSFinanceAuthenticateResponse,

  AMSAuthenticateOptionsDelegateAuthEnabledKey = 0,

  AMSAuthenticateOptionsEnableAccountCreationKey = 0,

  AMSAuthenticateOptionsEphemeralKey = 0,

  AMSAuthenticateOptionsForceSyncToPairedWatchKey = 0,

  AMSAuthenticateOptionsIgnoreAccountConversion = 0,

  AMSAuthenticateOptionsLogKeyKey = 251C8AE3,

  AMSAuthenticateOptionsRemoteProxyAuthenticationKey = 0,

  AMSAuthenticateOptionsServiceType = 2,

},

}}}, storefront-country-code=USA, client-environment-type=Sandbox}


Forum|alt.badge.img
  • New Member
  • 1 reply
  • February 6, 2024

Responded in wrong window, apologies.


Forum|alt.badge.img+2

Same error is happening to me.

I am developing with expo.

It work in a real device but it doesn’t work in a simulator.

And I found  a following post.

https://www.delasign.com/blog/xcode-store-kit-fix-finance-authentication-error/

But it's difficult to adapt it because the construction is totally different.


Same error is happening to me.

I am developing with Swift, RevenueCat version 4.39.0 and Xcode version 15.0 (15A240d)


Forum|alt.badge.img+2
  • New Member
  • 2 replies
  • April 11, 2024

Suddenly I see the same. Or rather, I’ve seen the same error for ages, but it hasn’t been a problem and I’ve always assumed it’s related to running my app from Xcode (on a device though). Today the whole app loading seems to freeze for 10 seconds or so causing my other HTTP loads to time out. I’ve cleaned the build cache and restarted the phone.

Will this get fixed or should I start learning StoreKit myself?

  • iOS 17.4.1
  • iPhone 15
  • RevenueCat 4.40.0
  • Xcode 15.3

Forum|alt.badge.img+2
  • New Member
  • 2 replies
  • April 11, 2024
Haley Pace wrote:

Solving internally via support ticket, will update with resolution here

Was there ever a solution to this?


Forum|alt.badge.img+1
  • New Member
  • 2 replies
  • October 18, 2024

I’m receiving a similar error: 

[StoreKit] Error enumerating unfinished transactions: Error Domain=ASDErrorDomain Code=500 "(null)" UserInfo={NSUnderlyingError=0x60000151e220 {Error Domain=AMSErrorDomain Code=2 "Finance Authentication
Error" UserInfo={NSLocalizedDescription=Finance Authentication Error, AMSURL=https://mzstorekit-sb.itunes.apple.com/inApps/v1/history?guid=15253AFC2DAA&reason=initial, AMSStatusCode=401,
NSLocalizedFailureReason=No delegate to perform authentication: <AMSAuthenticateRequest: 0x600000c2eaf0> {

...

There’s a similar thread here

 CC @Ryan Glanz

My stack is React Native and Expo. I am not using StoreKit and have a correctly configured In-app purchase key and can successfully test sandbox purchases on a real device via Expo but not within the simulator. Is there a documented solution for this?   


Forum|alt.badge.img+8
  • RevenueCat Staff
  • 430 replies
  • October 28, 2024

Hi @brohemian, we recommend testing with a physical device as simulators can sometimes have trouble testing purchases. On the simulator are you making sure to login to a valid Apple sandbox tester account? 


Forum|alt.badge.img+1
  • New Member
  • 2 replies
  • October 28, 2024

@Haley Pace, yes I’m using a valid sandbox account and have verified this with successful purchases via a physical device. It would be great if we could also do this via a simulator but it seems the infinite purchase loop is still an issue. 


Forum|alt.badge.img+8
  • RevenueCat Staff
  • 430 replies
  • November 1, 2024

Hi, thanks for letting me know. Let me check with the team to see if there is any other way to fix this.


Forum|alt.badge.img+1
  • New Member
  • 1 reply
  • November 15, 2024

I don’t see a posted solution here, and this is the first hit on RC when I post the above error, so I’ll share what I did that made this work: I only get this on the simulator, not on an actual device.  If you, like me, are getting this error, try running it on a physical device rather than the simulator.

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings