How to debug in-app purchases? Is there a sandbox available? - in-app-purchase

How to debug in-app purchases? (I am currently interested in Android.)
For example, PayPal and Stripe have development sandbox. Does Google Play have such a feature (sandbox) for debugging in-app purchases?
I just don't like to spend actual money while debugging my app.

Related

How to test IOS in-app purchase with real card

I have developed an IOS app with in-app purchases enabled in Flutter. I have tested the in-app purchase with sandbox environment and it shows success when done. Just to be extra sure that payment works I would like to try payment with the real card or dummy cards provided by Apple. Is it possible to test it with a real card before publishing the app to app store? Or do we need to have faith in Apple that if Sandbox works, the real pay would work too after publishing? Any suggestions or help would be appreciated. Thanks in advance!

In-App Purchase with Commercial app at same time?

I have an app in Apple store. It is commercial with 1 USD. Is it possible to add InApp Purchase features in this app at same time ?
Thank you

In-App Purchase without option to purchase through app

I would like to add an in-app purchase to one of my iPhone applications, to remove ads. I was planning on just adding it to the app store, and not selling the IAP through my app. All of the tutorials that I see for in-app purchases involve buying the the in-app purchase through the application. I'd like to just check to see if the purchase was made when loading the app. Is this possible, or do I have to provide the ability to purchase the IAP from within the app?
This is not the same question as the proposed duplicate. I was asking if it was possible to have an IAP that I could make available through the App Store and not the App. The suggested duplicate is titled: "In-app purchase outside of the App Store", and that's exactly opposite what I asked.

Will my app be rejected if I will remove code of in app from my app?

I have implemented in-app purchase(non-renewing subscription) in previous version of my app and it's got approved. I have now integrated paypal for purchase purpose and removed code for in-app on pay button click. So i have now confusion about my app approval. Will it cause any problem in my new version approval if they will not found in-app anywhere in my app?
Your app is going to be rejected anyway by apple because you are integrating PayPal to buy digital goods in your app i.e allowing user to buy extra functionality of your app or allowing user to pay to remove ads from your app.
YOU CANT DO THAT. YOU MUST INTEGRATE IN-APP PURCHASE TO DO THAT.
You can integrate PayPal only to allow trading of physical goods.
Read this:
https://developer.apple.com/app-store/review/guidelines/#purchasing-currencies

Is it possible to purchase a new app via In-App Purchase?

Is it possible to purchase a new app from inApp Purchase in iOS, i know that i can provide a update item in Apple server or in my own server and can provide this as an inApp purchase, but by doing so it will be a same apps update or with added feature buying from InApp Purchase.
But My doubt is, is it possible to buy a separate app say,from a Travel app, purchase an game app through InApp Purchase?
Well, you can install an app trough another app - TestFlight does it for example.
But this kind of app will not pass the AppStore revision if you want to
use inApp purchase mechanism - downloading code is not allowed by Apple.
So while it technically is possible - it just won't go trough.
And if you want to implement your own payment processing: they won't allow an app that acts as an app store.

Resources