現在プラグインを使用しています
https://github.com/purplecabbage/phonegap-plugins/tree/master/iPhone/InAppPurchaseManager
私のプロジェクトの inapppurchase とサンドボックス テストでは、iap が開始され、PaymentTransactionStatePurchasedとして状態を返しますが、状態 (PaymentTransactionStatePurchased) のアラートの後、アプリはハングし、onPurchased() 関数に進みません。解決。