jamesmontemagno / InAppBillingPlugin

Cross-platform In App Billing Plugin for .NET
MIT License
651 stars 152 forks source link

[iOS] Can't test purchases (subscriptions) #99

Closed AndreiMisiukevich closed 6 years ago

AndreiMisiukevich commented 6 years ago

Hi. Firstly I respect you for your work. Great plugin!

So, about my problem I use this version of the plugin.

I created sandbox tester, created subscription on the store. And operated according to manual.

But after filling test apple id and password into system-input, I get next error-message This apple id is only valid for purchases in the {NAME OF COUNTRY STORE}. You will be switched on this store

Where {NAME OF COUNTRY STORE} is sandbox tester's region.

Maybe any suggestions, how can I fix it?

Thanks a lot

Best regards

AndreiMisiukevich commented 6 years ago

By the way, I don't receive info from store

GetProductInfoAsync returns empty IEnumerable.

jamesmontemagno commented 6 years ago

Be sure to checkout: https://jamesmontemagno.github.io/InAppBillingPlugin/TestingAndTroubleshooting.html

I can't help with testing as it is different for everyone and is extremely complicated.

dsharkou commented 6 years ago

@AndreiMisiukevich

According to In-App Purchase Configuration probably you don't have an iOS Paid Applications contract:

You will not be able to test any StoreKit functionality until you have an iOS Paid Applications contract – StoreKit calls in your code will fail until Apple has processed your Contracts, Tax, and Banking information.

AndreiMisiukevich commented 6 years ago

Thanks a lot. We are waiting its processing now..

hendeavors commented 6 years ago

I had everything setup properly. I wasn't able to see a list of products on the simulator until the Bundle Identifier in Info.plist matched the Bundle ID on itunesconnect.