Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid Product Identifier on purchase #412

Open
AdieOlami opened this issue Oct 17, 2018 · 12 comments
Open

Invalid Product Identifier on purchase #412

AdieOlami opened this issue Oct 17, 2018 · 12 comments
Labels
answered Questions which have accepted answers. type: question

Comments

@AdieOlami
Copy link

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 icon on ac

  • App information

app info

  • IAP type

iap type

  • display name

display name

  • pricing with product ID

product id

  • Xcode target configuration

target bid

  • code appBundle

screen shot 2018-10-17 at 9 14 58 pm

  • Console log

screen shot 2018-10-17 at 9 16 06 pm

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

@BoikoArtem30091994
Copy link

Check if you enable In-App Purchase . Click on your project and find capabilities - > enable In-App Purchase. Thats help me)

@anhhtbk
Copy link

anhhtbk commented Oct 25, 2018

Check bank info. You need have Paid Applications in Contracts In Effect

@craigdennis
Copy link

craigdennis commented Mar 4, 2019

@AdieOlami did you ever get this to work as I am having the same issue and I'm running out of things to try.

@moquiutijunio
Copy link

Same problem

@fabulouspanda
Copy link

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

@moquiutijunio
Copy link

moquiutijunio commented Mar 14, 2019

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

Screen Shot 2019-03-14 at 11 51 24

.

@29satnam
Copy link

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

Screen Shot 2019-03-14 at 11 51 24 .

Exactly what helped me! +1

@snowtema
Copy link

Same problem. Nothing mentioned earlier did not help.

@Sam-Spencer
Copy link
Collaborator

@snowtema Did you try what @moquiutijunio and @fabulouspanda mentioned -- removing the prefixed bundle information?

@Sam-Spencer Sam-Spencer added answered Questions which have accepted answers. type: question labels Mar 21, 2020
@VictorZhang2014
Copy link

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.

@Mihai-github
Copy link

Hei, what to do if the status box is "Ready to submit"???

What should i do to get the product "active"

@Savvy-Vijay
Copy link

Savvy-Vijay commented Mar 29, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered Questions which have accepted answers. type: question
Projects
None yet
Development

No branches or pull requests