tvOS In-app purchase not working

I am trying to implement in-app purchases in Apple TV.

I added a "non-consumable" product and started testing in Sandbox, but it did not work properly.

While I am trying to fetch the product from the appstore, it won't give any responses like success or failure.

So that our app gets rejected in the App Store.

Please provide me the steps to implement in-app purhcase in Apple tvos using Swift.

Note: The same code is working fine in iOS.

Answered by Thamizhvel in 826308022

Actually, it is working fine in latest version of apple tv but not in old version.

New version workinf fine:

Old version not working fine:

tvOS In-app purchase not working
 
 
Q