In-App-purchage not working.

In my app in-app-purchage (auto-renewable subscription) is not working. Same code is working earlier on production since last 1+ year. I check with sand box user but getting below error.


Error Domain=NSURLErrorDomain Code=-1001 "Cannot connect to iTunes Store" UserInfo={NSUnderlyingError=0x106148260 {Error Domain=kCFErrorDomainCFNetwork Code=-1001 "(null)" UserInfo={_kCFStreamErrorCodeKey=-2102, _kCFStreamErrorDomainKey=4}}, NSErrorFailingURLStringKey=https://sandbox.itunes.apple.com/WebObjects/MZFinance.woa/wa/inAppBuy, NSErrorFailingURLKey=https://sandbox.itunes.apple.com/WebObjects/MZFinance.woa/wa/inAppBuy, _kCFStreamErrorDomainKey=4, _kCFStreamErrorCodeKey=-2102, NSLocalizedDescription=Cannot connect to iTunes Store}

Replies

I am also. It happend from last week.And only celler data happend this condition

Hi, Pawan.a3

First of all confirm the following url works on your side or not

https://sandbox.itunes.apple.com/verifyReceipt


If works, please test with another sandbox account.

1. Register new sandbox account on itunes connect.

2. Sign out apple account from the settings screen.

3. Open your app and test features with new sandbox account.


Note: You should not try to login with your new sandbox account on app store or iCloud as well.

Hope this help you.

The problem is still happening for all new accounts that are being created. Realted with https://github.com/chirag04/react-native-in-app-utils/issues/205