buySubscription returning E_UNKNOWN on iOS
See original GitHub issueVersion of react-native-iap
0.3.10
Platforms you faced the error (IOS or Android or both?)
iOS
Expected behavior
A subscription purchase receipt is returned
Actual behavior
‘E_UNKNOWN’, ‘An unknown or unexpected error has occured. Please try again later.’
I’ve followed the setup instructions and am able to call getSubscriptions()
and get back a valid subscription product.
When I call buySubscription(myValidProductId)
I get back the unknown error noted above. Neither my app, nor the in-app purchase have been reviewed or approved as of yet, I’m still in development and testing phase. Should I be able to test actually purchasing a subscription in this way?
This has been tried both at the simulator and with app installed to my device.
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Request a refund for apps or content that you bought from Apple
Sign in to reportaproblem.apple.com. Tap or click "I'd like to," then choose "Request a refund." iPhone showing the Report a Problem website ...
Read more >PurchaseFailureReason: Unknown - Unity Forum
1. Run game. · 2. Hit "Buy subscription" button (for 3 month with 3 free day period). · 3. Entered account password. ·...
Read more >Contact Us | Subscription Questions - Buysubscriptions
How to get in contact with us regarding your subscription, renewal, single issue, or have a question about subscribing on buysubscriptions.com.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I have the same error as above when try to upgrade subscription plan. How to resolve this?
@JJMoon I am facing the same issue on ios, the situation is once I successfully purchased 12 months recurring subscription. Then on sandbox environment on the device when I try to purchase 3 months or any other subscription less than 12 months I asked for sandbox user creds It shows purchase is a success then suddenly getting pop up which says An unknown or unexpected error has occurred." getting this error : { [Error: An unknown or unexpected error has occurred. Please try again later.] framesToPop: 1, code: ‘E_UNKNOWN’, nativeStackIOS: [ ‘0 RadioSpirit 0x0000000102bfd3e8 RCTJSErrorFromCodeMessageAndNSError + 152’, ‘1 RadioSpirit 0x0000000102b96b24 __41-[RCTModuleMethod processMethodSignature]_block_invoke_2.218 + 176’, ‘2 RadioSpirit 0x0000000102aeeb64 -[RNIapIos rejectPromisesForKey:code:message:error:] + 512’, ‘3 RadioSpirit 0x0000000102af10ec __45-[RNIapIos paymentQueue:updatedTransactions:]_block_invoke + 348’, ‘4 libdispatch.dylib 0x0000000104534dc8 _dispatch_client_callout + 16’, ‘5 libdispatch.dylib 0x000000010454382c _dispatch_lane_barrier_sync_invoke_and_complete + 124’, ‘6 RadioSpirit 0x0000000102af0e74 -[RNIapIos paymentQueue:updatedTransactions:] + 908’, ‘7 libdispatch.dylib 0x0000000104533824 _dispatch_call_block_and_release + 24’, ‘8 libdispatch.dylib 0x0000000104534dc8 _dispatch_client_callout + 16’, ‘9 libdispatch.dylib 0x0000000104542a78 _dispatch_main_queue_callback_4CF + 1360’, ‘10 CoreFoundation 0x0000000220894df4 + 12’, ‘11 CoreFoundation 0x000000022088fcbc + 1964’, ‘12 CoreFoundation 0x000000022088f1f0 CFRunLoopRunSpecific + 436’, ‘13 GraphicsServices 0x0000000222b08584 GSEventRunModal + 100’, ‘14 UIKitCore 0x000000024dbe6d40 UIApplicationMain + 212’, ‘15 RadioSpirit 0x0000000102996d70 main + 124’, ‘16 libdyld.dylib 0x000000022034ebb4 + 4’ ], userInfo: { NSLocalizedDescription: ‘Cannot connect to iTunes Store’ }, domain: ‘SKErrorDomain’, line: 2268, column: 26, sourceURL: ‘http://192.168.1.107:8081/index.bundle?platform=ios&dev=true&minify=false’ }
Please help me understand and resolve this situation.