Open daijun4you opened 6 years ago
The user payed success, but callback is error... ...
here is some msg, when pay success but callback is error
{"code":"ESKERRORDOMAIN2","message":"无法连接到 iTunes Store","nativeStackIOS":["0 LanhaiApp 0x000000010013df0c LanhaiApp + 302860","1 LanhaiApp 0x000000010013de6c LanhaiApp + 302700","2 LanhaiApp 0x000000010026162c RCTFBQuickPerformanceLoggerConfigureHooks + 1178188","3 StoreKit 0x000000019d433134 + 104","4 CoreFoundation 0x000000019065dc18 CFArrayApplyFunction + 68","5 StoreKit 0x000000019d4330b0 + 148","6 StoreKit 0x000000019d433bec + 1288","7 StoreKit 0x000000019d434714 + 144","8 StoreKit 0x000000019d432f60 + 152","9 libdispatch.dylib 0x000000018f60e1fc + 24","10 libdispatch.dylib 0x000000018f60e1bc + 16","11 libdispatch.dylib 0x000000018f612d68 _dispatch_main_queue_callback_4CF + 1000","12 CoreFoundation 0x0000000190732810 + 12","13 CoreFoundation 0x00000001907303fc + 1660","14 CoreFoundation 0x000000019065e2b8 CFRunLoopRunSpecific + 444","15 GraphicsServices 0x0000000192112198 GSEventRunModal + 180","16 UIKit 0x00000001966a57fc + 684","17 UIKit 0x00000001966a0534 UIApplicationMain + 208","18 LanhaiApp 0x00000001000f9760 LanhaiApp + 22368","19 libdyld.dylib 0x000000018f6415b8 + 4"],"domain":"SKErrorDomain","userInfo":{"NSLocalizedDescription":"无法连接到 iTunes Store"}}
I seem to be getting this error when the user already owns the product they are trying to purchase. Not sure if this relates to your situation.
ESKERRORDOMAIN2
maps to payment_canceled
+1, the same problem for me! App store pay success, but the callback is error:
{"code":"ESKERRORDOMAIN0","message":"Cannot connect to iTunes Store","nativeStackIOS":["0 LanhaiApp 0x000000010407d674 LanhaiApp + 300660","1 xxxApp 0x000000010407d5d4 xxxApp + 300500","2 LanhaiApp 0x00000001041a0d94 RCTFBQuickPerformanceLoggerConfigureHooks + 1178188","3 StoreKit 0x00000001964d1278 <redacted> + 104","4 CoreFoundation 0x0000000183091c20 CFArrayApplyFunction + 80","5 StoreKit 0x00000001964d11f4 <redacted> + 148","6 StoreKit 0x00000001964d222c <redacted> + 1220","7 StoreKit 0x00000001964d2b3c <redacted> + 160","8 StoreKit 0x00000001964d2460 <redacted> + 32","9 libdispatch.dylib 0x0000000182b51088 <redacted> + 24","10 libdispatch.dylib 0x0000000182b51048 <redacted> + 16","11 libdispatch.dylib 0x0000000182b5db74 <redacted> + 1016","12 CoreFoundation 0x0000000183173f20 <redacted> + 12","13 CoreFoundation 0x0000000183171afc <redacted> + 2012","14 CoreFoundation 0x00000001830922d8 CFRunLoopRunSpecific + 436","15 GraphicsServices 0x0000000184f23f84 GSEventRunModal + 100","16 UIKit 0x000000018c63f880 UIApplicationMain + 208","17 xxxApp 0x0000000104038ec8 LanhaiApp + 20168","18 libdyld.dylib 0x0000000182bb656c <redacted> + 4"],"domain":"SKErrorDomain","userInfo":{"NSLocalizedDescription":"Cannot connect to iTunes Store"}}
The same, does anyone know how to fix it?
Same here! The user is subscribed in iTunes but the answer is this error. This is very problematic in production because we have people that get subscribed but don't have access to the premium features. Any news?
@Sin- Same issue here. What did you do to get around this ?
I had to go with it. Not really sure if the error comes from the lib of from iTunes, but Deezer encountered the same problem on a massive scale and sent an email to explain they were working with Apple to solve this problem. Since then, the number of errors decreased but it still happens sometimes. If the answer from the lib is an error (else than user cancellation) I show a modal explaining the issues with iTunes to my user and I give them steps to unsubscribe from iTunes and subscribe directly from our website.
有人解决了吗?我偶尔也会出现掉单
I had received many users that lose his order. So I test in production env many times but cannot reproduction. I don't kown why, anyone has this problem? Help... ... RN 0.44 and reat-native-in-app-utils 5.6