Do I need to add products to Google Play Developer Console for Ionic In App Purchase - ionic-framework

I am developing an application using ionic3 and the app is about selling books. I created web application for the client so they can add book to the platform. Now I am considering In App Purchase as a means of payment on the mobile app but all the tutorial I have seen requires that I add the products to google developer console and Itunes. My question is Do I really need to add products to Google Play Developer Console for Ionic In App Purchase? Cos my Idea is just to request for the products available in the database and use inApp Purchase basically as a payment gateway

You have to setup product offers in each platform.
The main reason is because Apple and Google performs purchase operation relying on the data stored on their side (app store connect or console), where price tier is fixed etc.
If the platforms would allow a developer server send arbitrary requests it would be super hard to manage for apple/google hence they prefer having products for sale defined on their end.
Client just mirrors data, but source of truth for offers is always Apple or Google side system.

Related

Why can't my app be published using paypal integration

I developed an app with ionic library and use paypal integration from ionic framework. I uploaded my app at google play and everything went fine. When I published my app in app store my app was rejected with this reason :
We noticed that your app or its metadata enables the purchase of
content, services, or functionality in the app by means other than the
in-app purchase API, which is not appropriate for the App Store.
Does anyone know if the problem is that I use paypal library or that apple doesn't control my transactions so apple can't take some money?
Other methods are allowed, but only under certain conditions:
3.1.5(a) Goods and Services Outside of the App: If your app enables people to purchase goods or services that will be consumed outside of the app, you must use purchase methods other than in-app purchase to collect those payments, such as Apple Pay or traditional credit card entry.
You can read all the app story review guidelines at https://developer.apple.com/app-store/review/guidelines/#payments

Will I be able to have 3rd party payment system in my iOS app?

I'm developing an iOS app where users can ask for advice to influential people on their subject. In order to interact with these people you have to pay the price they set. Once you pay you are able to engage with them on a private chat.
There is an app called Healthtap which does almost the same but with doctors.
I wanted to know if we might be able to use paypal and stripe payment systems instead of apple's.
For more info, I'm building it with HTML5 and making it native with Phonegap
Thanks!
You "have" to use apple's system when paying will add more content to the app, which seems to me, is what you are trying to do.
From Apple's In-App Purchase Programs:
You should read this if you are interested in offering additional
paid functionality to users from within your application.
You can use other payment methods when you are not adding new functionality to the app but rather buy something else in the real world. This is the reason why apps such as Amazon's kindle stopped selling ebooks through their apps, since they did not want to share their profits with apple.
No, Apple does not allow any third-party payment methods to be presented in the app itself; it's IAP or nothing.
What you CAN do is have the third-party payment system as part of your web site and have your users make payments through the web site. You will then need some authentication system in the app that uses to validate the user's payment.

Xcode iPhone Development - ecommerce app

I've read Apple don't allow you to create your own e-commerce iPhone app and integrate into Paypal, some payment gateway and you should only use/ go through the app store using the storekit. How do other companies such as Amazon do it?
Any links to any extra reading would be great,
Thanks in advance.
You must use storekit if your products are all virtual. But if the products are physical (the case with Amazon) then you must not use in app purchase (storekit) and must process payment on your own. Check In App Purchase Programming Guide for the details.

iPhone native app + payment gateway

I want to implement payment gateway for iPhone native app.
I have read in few of the sites that I can integrate apple payment gateway for this through In App Purchase. But if I want to do through In App Purchase then, I have register each of my product with AppStore and set a price margin for each.
Rather I am building something like shopping cart where prices of products are different.
Please guide how should I proceed, is there any other payment gateway that I can integrate with my iPhone native app.
You can use PayPal MECL library for this.
https://www.x.com/developers/paypal/documentation-tools/paypal-sdk-index
From the above link download Mobile Express Checkout Library for iOS and in downloaded zip file two examples will be there one for non-web and other for web.
In non-web you have to keep the business (merchant) credentials in your application refer MECL non-web example accompanied with the library zip file.
If you don't want to keep the credentials in your application then you can handle the product selling through web service, and this is recommended way.
For more information read https://www.x.com/developers/paypal/how-to-guides/how-accept-payments-ios-app-using-mecl

iPhone native app + integrate payment / purchase to buy products

I am developing a native iPhone app, where end user can purchase calling cards of different rates.
The problem I am facing is that, I don't what can be several options to integrate payment / online purchase feature and they can be integrated.
Few sites I have read that, you can implement this using In App Purchase, but there using In App purchase Apple will take 30% of payment. Also, I need to register each of my product with Apple -> iTunes Connect -> Manage In App Purchase, which is again not a feasible thing to do. As my products would have different rates and they get updated regularly, so every time I have make changes in iTunes Connect.
Another option can be to integrate Paypal for purchases but, here I have open the web interface (either safari browser or UIWebView) from native app when it comes to make payment. Problem here is that, opening the web interface would fine, but I need to come to native app and same point in the app from where I did the payment. Also, I don't have prior experience of integrating Paypal.
Please guide me to find the best suitable option to integrate payment feature in native app.
You definitely need to read the Apple-iOS-Standard-Agreement, to find answers about InAppPurchase:
Attachment-2 to the iOS-Standard-Agreement Feb. 15th 2011, 1.1, 2.1, 2.2:
... this makes clear that you are not allowed to use InAppPurchase for selling calling cards. InAppPurchase is only allowed for content & functionality you provide the user within your app.
AS InAppPurchase is not the way you can go, you may use the Mobile Payments Library for iOS, PayPal release last year. The lib is well documented and ships with sample code:
https://www.x.com/community/ppx/xspaces/mobile/mep