Test Your In-App Purchases (Lesson 6)

preview_player
Показать описание
In this lesson, we are going to create a sandbox environment where a test user will be used to "pretend" (no real money involved!) to purchase our in-app purchase.

⏱ Time Stamps ⏱
00:00 What you'll learn
00:23 Outline
00:33 Small Edit from Previous Lesson
02:10 Working with the Sandbox Environment
09:50 Recap

⚡Get your free RevenueCat account:

⚡Documentation Links:

⚡Looking for more training like this? Check out CWC+:

⚡To continue learning how to make apps with us, be sure to subscribe to our channel:

⚡And we also have a thriving CodeCrew community where you can meet like-minded iOS learners and get support on your own iOS app development journey:

CodeWithChris is dedicated to teaching beginners and non-programmers all about how to make an app. On the site, you'll find a ton of free resources and tutorials to aid you on your journey to learn iOS development. Many people have successfully picked up Swift, Xcode and app building from my course and materials!

#InAppPurchases #RevenueCat #CodeWithChris
Рекомендации по теме
Комментарии
Автор

Thank you so much chris!! this is awesome! I spent 5 days trying to implement my own solution... this had me up and running in 2 hours 🤗

Nic-ogqg
Автор

Thanks for this Chris. It's a very helpful series.

wmblemania
Автор

Can this testing be done on virtual environment like AWS device farm for automation testing?

LamLe-lusl
Автор

Im stuck I logged out my Apple ID on phone and signed in with sandbox but when I try to make a purchase it still shows my real Apple ID

mEtAlMaNiAc
Автор

Amazing tutorial, thank you very much :)

hongnhannguyen
Автор

Hi. Thanks for lesson. I not see information about Restoring Purchases button, but it very important thing. Can you give information how to add Restoring Purchase button with Revenue Cat ?

КонстантинФилобок
Автор

Another great video! I hope you will do a RevenueCat tutorial for SwiftUI. I already had a free RevenueCat Account before you started the series. So since I can’t set up an account using your link I will try reaching out to revenue cat through Twitter or email directly to let them know that we need a SwiftUI tutorial. Preferably one where you show how to do in-app purchase with multiple non-consumable items that can be purchased through a one time purchase rather than a subscription. Thanks for all you do with these videos!

danno
Автор

Thank you very much. How to test it in a production environment?

uchoangvan
Автор

I want my In App Purchase (renewable subscription) screen to pop up after the onboarding view finishes and want that screen to stay there until a purchase is made. After the purchase, I want my app to delete the purchase viewcontroller and then direct to the ViewController which I assigned as "Main View Controller". What should I do for that? I looked many videos, searched many forums and watched many tutorials but couldn't find one relating with my situation. Your help would be highly appreciated Chris. Please tell me steps to do so. Thanks!

rajatbisht
Автор

do you have one course for store kit 2.???

nat.serrano
Автор

Hey Chris, thank you for nice tutorial. I have few questions if it's possible..
What about the receipt data? I can't find any info about this topic on documents and also in your video..
Regularly we getting receipt data from StoreKit or local device after purchase operation then we can send it to our server to verify it from there with Apple (if we're not using Apple server to server notification), so how we can get receipt data from this library ?
- SwiftyStoreKit immediately returns receipt data with fetch func, is there any func to get it like in SwiftyStoreKit?
- How we will handle interrupted transactions with RC?
Thanks again

onurisk
Автор

Congrats Chris, for this awesome series.
I only have one issue/question:
When I test my subscriptions, and after letting the 5 minutes (x5) go by, the user still has access to the unlocked version of the App. The only way the user gets prompt again with the subscriptions buttons/options is if he restarts the App.
I'm not sure if this is going to happen also after I publish the App on App Store. Will the users be able to use the App if they don't restart the App?
Thanks

pedromiguelisidoro
Автор

Hi, I couldn't help but realize the gap between the material taught in this lesson and the material taught in your SwiftUI beginners tutorial. Is your new series going to go in depth on multi-user coding regarding firebase or do you already have videos that take you through it all start to beginning?

luisr
Автор

Hi Sir, I'm a tester. I'm purchasing some transactions and I'm testing on sandbox environment, so I want to verify these transactions. How do I see? In this lesson, I see you have the "Recent transaction" list. I hope you can help me!

HanhNguyen-oitl
Автор

Hey Chris, thanks for some great tutorials. Really like the way you are doing this and in particular this in-app tutorial is helping me a lot. One question: Despite being based in the UK and payment settings on my phone pointing to the UK, the price I am shown is in USD. I have prices for all countries in my product so seems strange that it is picking USD for me. Have you seen this? Might be an Apple problem.

kaipohl
Автор

Hey Chris I'm watching your swift function tutorial so I can finish an assignment using a function to convert Fahrenheit to Celsius and visa versa I wanted to know what IDE you use so I can see all the errors right away before having to run the code like in most playgrounds.

MonetarilyMental
Автор

Hi, great video. But about the subscription part, if a user actually subscribes to the app with their actual credit card credentials in real life, will this expiry after 5 minutes part still be there ( and as seen the subscription ended in 30 so minutes) or will the subscription actually last for a month(considering we are using revenue cat) ? Thanks.

prabhavmehra
Автор

like this tutorial i integrated in my application and i want to add 3o days free trail after that it should be charged 1month and 1 year can you please tell me how to handle free trails

garikasreekanth
Автор

Anyone struggling with the Invalid Receipt problem? I m checking everything multiple times... it works with storekit configuration via but when I want to do it by sanbox account I keep getting "Invalid Receipt" :xxxx

bujnyyy
Автор

As a wannabe dev is it reasonable to start learning swift for ios14 or rather wait for ios13 to die naturally?

MrSojek