0

For the testing purpose in app purchase is working fine in ios6 but not in ios 7.

While running in xcode for ios6 it shows that the product list has been received, but for ios7 it shows invalid product id.

This is the code I'm using:

void Start() 
{ 
    var productIdentifiers = new string[] {"product.100"}; 
    StoreKitBinding.requestProductData( productIdentifiers ); 
} 

void ButtonOne() 
{ 
    bool canMakePayments = StoreKitBinding.canMakePayments(); 
    StoreKitBinding.purchaseProduct( "product.100" , 1 ); 
}

Is there any special setting for ios7 which I am missing?

Bart
  • 19,692
  • 7
  • 68
  • 77
  • Could you show us the relevant code? – Bart Dec 04 '13 at 13:37
  • Hers is the code i am using ` void Start() { var productIdentifiers = new string[] {"product.100"}; StoreKitBinding.requestProductData( productIdentifiers ); } void ButtonOne() { bool canMakePayments = StoreKitBinding.canMakePayments(); StoreKitBinding.purchaseProduct( "product.100" , 1 ); }` – user2071538 Dec 05 '13 at 05:43
  • one out of the blue question. How to write code here in comment? – user2071538 Dec 05 '13 at 05:44
  • You can wrap it in `, but just update your question in this case. – Bart Dec 05 '13 at 07:08
  • Any idea what am i doing wrong? – user2071538 Dec 06 '13 at 04:59
  • http://stackoverflow.com/questions/21036193/phonagap-inapppurchasemanager-plugin-is-not-working-in-ios7 in this question the code is available.Please refer this and give me solution. – Vaishali Modi Jan 10 '14 at 04:51

0 Answers0