SwiftyStoreKit
SwiftyStoreKit copied to clipboard
Invalid Product Identifier on purchase
I just discovered this awesome project and when I tried using the demo project for iOS with my IAP setup properly I get Invalid product identifier
so I have decided to take screen shot of my process with hopes of getting it fixed up because i went through all issues here and I couldn't get a fix.
-
My Appstoreconnect App icon
-
App information
-
IAP type
-
display name
-
pricing with product ID
-
Xcode target configuration
-
code appBundle
-
Console log
if there is anything I am not doing right kindly point it out and I am sure this would serve a lot of people too. Thanks
Check if you enable In-App Purchase . Click on your project and find capabilities - > enable In-App Purchase. Thats help me)
Check bank info. You need have Paid Applications
in Contracts In Effect
@AdieOlami did you ever get this to work as I am having the same issue and I'm running out of things to try.
Same problem
After running in to this issue on macOS I changed the call to purchase from
SwiftyStoreKit.purchaseProduct(appBundleId + "." + purchase.rawValue, atomically: true) { result in
as used in the Mac demo to
SwiftyStoreKit.purchaseProduct(purchase.rawValue, atomically: true) { result in
and that worked for me
I solved my problem, I needed to update my contract with the data and after getting active, I managed to use the IAP.
Another detail is that the product ID sent must be the same as the product ID registered in the plan, without any additional Bundle identifier information:
SwiftyStoreKit.purchaseProduct(subscription.productId, atomically: true) { result in
.
I solved my problem, I needed to update my contract with the data and after getting active, I managed to use the IAP.
Another detail is that the product ID sent must be the same as the product ID registered in the plan, without any additional Bundle identifier information
.
SwiftyStoreKit.purchaseProduct(subscription.productId, atomically: true) { result in
Exactly what helped me! +1
Same problem. Nothing mentioned earlier did not help.
@snowtema Did you try what @moquiutijunio and @fabulouspanda mentioned -- removing the prefixed bundle information?
The problem was solved by App Store Connect itself. It was a new app submitted to App Store, after approved, there was only one non-renewal consumable
item could work.
Originally, the app has 5 items with non-renewal consumable plan. After it approved, I thought my code was wrong somewhere, but 8 hours later, all 5 items could work, and the process of In-App Purchases was running well. I guess this is the time in force without doubtlessly.
Hei, what to do if the status box is "Ready to submit"???
What should i do to get the product "active"
After active paid app agreement, you should add your product in In-App purchase and Subscription section in App version page. My issue fixed with this scenario.