It kinda looked like I was learning Javascript. It didn't show me anything on the setups on Apple end. Creating Subscriptions, Sandbox testers , what is the product id, etc. It basically showed me javascript syntax and told me things already on the documentation of IAP
Next time when a user opens this App, how to check if the user has paid, is there a way we can get the user's Apple some kinds of account ids to point to a specific payment?
Hi Jonas, Thanks a lot for the video you have shared that helped me a lot, however I have one query and I am grateful if you can resolve that. How can we unsubscribe to the current plan? Is there any way to do that from API or user must have to go to apple account and unsubscribe plan from there? If user does so how do we know that the plan has been unsubscribed?
Another question when talking about the Receipt, is a request made to apple to check if that receipt is still valid? I already have my backend. But how do I implement that every month that receipt is saved in my back-end? the first time if it is saved, but if the subscription of 1 month is about to expire, how do I keep that receipt in my back?
Yes its a request from the backend to the Apple api. Make sure your app is always checking the receipt after it’s launched. If the subscription expired or about to expire , it will say so in the api response
hi, Thanks so much for video, one question please... when you say "Sign banking and tax agreements" you mean i have to enroll my application to appstore by 99$ for year before do this video? ,thanks to response :)
Hi, I have a doubt about IAP,can we make the prices dynamic, I have an app that sells digital contents and the apple rejected the app since I was using a third party payment and instructed me to buy using inapp purchases but since my products price is dynamic and products can be added in future also and cart is also included, I have no idea how to implement that with in-app purchases..can you kindly guide me here..thanks in advance
I am stuck inside the purchaseUpdateListener function. What I want is to active a view depending on a state variable but whenever I tried to execute something or update the state variable inside the listener it's not updating. Please help me. I followed every step exactly you have explained here.(Though the finishTransaction has been called successfully)
Hi @Jonas How do you integrate it with an actual App Store account? Suppose I have a product registered in my App Store with Product ID "com.example.premium.monthly". Even after using this in the SKUs list it still shows the DUMMY products. How to get this work in actual project with actual products?
@@jonasgroendahl everything done. Actually I wanted to know does it automatically to my apps products? And does it show real products only when in sandbox or deployed on Apple and Android store? Actually I am not able to see my real products in release build on my device.
@@jonasgroendahl same question here. How do you connect to your own apple store product, not the demo one? It looks like you used the bundle id in Xcode to set that up. But what if I don't use Xcode, there is nowhere I can set that up
Thanks so much man! It's all I need to learn.
It kinda looked like I was learning Javascript. It didn't show me anything on the setups on Apple end. Creating Subscriptions, Sandbox testers , what is the product id, etc.
It basically showed me javascript syntax and told me things already on the documentation of IAP
Next time when a user opens this App, how to check if the user has paid, is there a way we can get the user's Apple some kinds of account ids to point to a specific payment?
Hello i am using product id same in code & app store connect but getting empty response
Thanks for video. What about android?
Thanks a bunch!
Im unable to get array , can you help me
Hi Jonas, Thanks a lot for the video you have shared that helped me a lot, however I have one query and I am grateful if you can resolve that.
How can we unsubscribe to the current plan? Is there any way to do that from API or user must have to go to apple account and unsubscribe plan from there? If user does so how do we know that the plan has been unsubscribed?
Another question when talking about the Receipt, is a request made to apple to check if that receipt is still valid?
I already have my backend. But how do I implement that every month that receipt is saved in my back-end?
the first time if it is saved, but if the subscription of 1 month is about to expire, how do I keep that receipt in my back?
Yes its a request from the backend to the Apple api. Make sure your app is always checking the receipt after it’s launched. If the subscription expired or about to expire , it will say so in the api response
Thanx man
Great video. Can you please make one for android too
I’m looking into it! 🐰
Jonas Grøndahl eagerlyy waiting ☺️. There is no other tutorial on youtube wich explains in app payments. Thats why🙂
hi, Thanks so much for video, one question please... when you say "Sign banking and tax agreements" you mean i have to enroll my application to appstore by 99$ for year before do this video? ,thanks to response :)
You need to be enrolled in Apple developer program before you can release and add payments to apps afaik yes
@@jonasgroendahl thanks so much bro, that help me so much
Hi, I have a doubt about IAP,can we make the prices dynamic, I have an app that sells digital contents and the apple rejected the app since I was using a third party payment and instructed me to buy using inapp purchases but since my products price is dynamic and products can be added in future also and cart is also included, I have no idea how to implement that with in-app purchases..can you kindly guide me here..thanks in advance
Hey, I'm facing through similar problem.. were you able to solve it? If yes, could you clarify how it can be done?
Thanks
Great video! Keep up the good work! My purchaseUpdatedListener is not triggered :C You know any solution? Thanks
Empty array? How do we set Subscriptions? Example not giving expected result Array
I am stuck inside the purchaseUpdateListener function. What I want is to active a view depending on a state variable but whenever I tried to execute something or update the state variable inside the listener it's not updating. Please help me. I followed every step exactly you have explained here.(Though the finishTransaction has been called successfully)
Hi @Jonas How do you integrate it with an actual App Store account? Suppose I have a product registered in my App Store with Product ID "com.example.premium.monthly". Even after using this in the SKUs list it still shows the DUMMY products. How to get this work in actual project with actual products?
What step are you on in terms of setting up your app, banking details etc etc. in the appstoreconnect?
@@jonasgroendahl everything done. Actually I wanted to know does it automatically to my apps products? And does it show real products only when in sandbox or deployed on Apple and Android store? Actually I am not able to see my real products in release build on my device.
@@mohitkale6879 the products should show on device in development
@@jonasgroendahl I see the dummy products of coins even if I use my product ID in the code.
@@jonasgroendahl same question here. How do you connect to your own apple store product, not the demo one? It looks like you used the bundle id in Xcode to set that up. But what if I don't use Xcode, there is nowhere I can set that up
How can we validate subscription when users open the app? (without using db)
I wouldnt attempt to do it without a backend 🙂
@@jonasgroendahl Thanks for response