iOS(swift) testing in-app billing - ios

I am trying to test in-app-billing for non-consumable. In my project i have 5 contents to buy and then download.Upon clicking a button the user should buy the content.I followed few tutorials did't get idea.Any help would be greatly appreciated

If you want to work with In App Purchase (StoreKit) you should follow this tutorial by Ray Wenderlich, is up-to-date so you'll be able to do what you want with.
Also, you can use some libs like SwiftyStoreKit to save time. It's a great library, easy to use and not restricted.
With those informations it will be easy for you to do the job successfully and quickly.
Have a good day!

Related

How to implement payments in a Flutter app?

I am using flutter to build my first ever app.The app is designed for users to be able to buy and sell products amongst each other and I would like to set up functionality to have payments go through the app. There does not seem to be a lot of documentation on this and I really don't know where to start. Can anyone enlighten me of what the easiest route to go down will be? Square? Stripe? Are there any good start to finish tutorials out there? Thanks in advance.
You can definitely do this with Square using our In-App Payments SDK! I would suggest taking a look at our example to quickly get started: https://github.com/square/in-app-payments-flutter-plugin/tree/master/example This will show you from start-to-finish how to take a payment from a customer within your Flutter application.
With that said, to comment on how this would behave: Essentially your Flutter application would be able to open a "card entry" screen, which would allow a customer to enter their card details accordingly. The result would be a nonce, which you can then easily charge on your backend. The example shows all of this, I just wanted to quickly explain the high-level behavior.
For more information, I suggest taking a look at the Square Developer Docs for our In-App Payments SDK. Of course, if you have follow-up questions, don't hesitate to follow-up with us over in our Slack channel: https://squ.re/2Hks3YE

Develop app only to be used for in app purchases?

I am developing a free app about marine life conservation. I am working with a foundation to help them raise money. I have an paid app in the iOS store now. While i am certain of the answer, i would like to ask and hopefully be pleasantly surprised.
Is it possible to create an app that is only available via an in app purchase? I would like of offer my app with the foundations' logos throughout the app, instead of my own, but i do not want this special app to be readily available on it's own.
Possible via any creative measures?
An interesting problem, a possible solution could be:
You will have your existing application with the in-app purchases that will give the user either a promo code or a deep link to your other application.
The other application will be essentially empty if someone random opens it, then will 'unlock' when a user has a code/link opens it.
If you did want to try the deep-linking, i've used Branch before that is quite easy to use. Link: https://branch.io

Is there a way to check if user has rated your app?

I have been extensively searching through Internet but I could not able to come across so far then I have decided to ask the following question in SOF.
My idea is to implement a selling and buying product in my application. There will be no charge from both sides(seller or buyer). However, I only want to receive user feedback to increase my app reputation in the AppStore.
I would like to know how to check whether or not that an app user rate or leave comment for my application in the App Store. I need to know because I want to give him more advertising opportunities within the app.
Sorry again, I wish to provide a sample code but I could not able to come anything to start with.
As far as I'm aware, there isn't a way to do this. Most apps just direct people to the app store and then assume they rated the app. You can have the user copy and past their review into your app and store it so you can double check that they actually did it. That will ensure more people don't try to cheat the system. Essentially, the more work you make it to unlock the feature, the less likely people are to cheat.
From Apple via #Paulw11's comment:
Developers who attempt to manipulate or cheat the user reviews or chart ranking in the App Store with fake or paid reviews, or any other inappropriate methods will be removed from the iOS Developer Program
link: https://developer.apple.com/app-store/review/guidelines/#metadata

In-App purchases with thumbnail previews?

I am beginning looking into adding in-app purchasing to my iPad app (Objective-C, not swift) with the files being hosted by Apple, but I don't see anything that says it can do what I want it to do.
I do not see how to specify a customer-viewable thumbnail, just the ones for apple staff to see for review.
My app is a graphics program, and the in-app purchases are clipart, so the user will need to be able to see the thumbnail to know if they want to buy it. I am not including the files in the app bundle, because that would be huge, and I plan on constantly adding more clipart.
At this point the only thing I can think of is putting thumbnails on a web server and fetching ones that match a particular product ID, but I would think/hope that there is a simpler solution.
(also, if anyone can point me to a nice newish tutorial that is better than the Apple documentation, that would help too!)
EDIT:
Do I get some kind of award for asking a question nobody can seem to answer?
A free iPad maybe? Huh huh? :)
Unfortunately, Apple doesn't provide metadata for hosted downloads beyond what is available for non-hosted content. I'm afraid that you'll need to host your thumbnails on a server under your own control (keying it to the product identifier).
On the plus side, it's probably easier and quicker to update thumbnails on your own server than dealing with iTunes Connect!

Any good Point of Sales apps/plugins/gems that integrate with Spree?

Can someone recommend a good Point of Sales app that plays nice with Spree?
Basically, it should be able to allow in-store purchases processed by a checkout clerk. Ideally, it would have barcode scanning, receipt printing, etc.
Have a look at opensource rails apps

Resources