How to find payments transaction via itunes ? - ios

How to find payments transaction via itunes ? is it possible?
I have iOS App based on subscription model. Sometimes users complain that they paid but didn't recevie purchased content. So, how can I verify it? How to find transcaction on serverside or into itunes connect. ??
All payment gateways have admin panel where I Can find transaction by email, date, amount, day,id.
I have user email. How to manage subscriptions ? Please help.

Normally you can see it under "Sales and Trends" (iTunes Connect), iAP are listed as iAP (inApp Purchases).
You can see which country and what kind of Device, also the Date it was sold.
There is no other Way to determine if somebody purchased than through iTunesConnect...
edit: you can then ask your user to tell you when he bought so you can guess if he is lying or not.
also, in code you can get a verification if the purchase was successful. you could then notify yourself with an HTTP request if you own a web server (with more Information)...

Related

How I can manage the users IOS in-app subscription for my app

I have done some research but I can't find if apple has a way to manage my customer in-app subscription to do refund and cancel.
I look in itunes connect but I can't find any menus or informations about it.
In the developper documentation, I found that a user can manage is subscription in itunes by openning the link :
https://buy.itunes.apple.com/WebObjects/MZFinance.woa/wa/manageSubscriptions
I also found that to do a refund the users need to contact the Apple customer service in the working with subcription cancellation part. https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/StoreKitGuide/Chapters/Subscriptions.html
In the android console, there is menu to manage the order for the app and cancel or refund an order. So, if a customer call us we can do the refund on our side.

How to track In-App Refund in ios app [duplicate]

Situation:
- User makes an IAP and is awarded some content, we store the users device id to ensure they can access this content whenever they want.
- User decided they do not like the content, so they call Apple and get a refund.
- User can still access the content, even though they have been refunded for their IAP
Problem:
We don't want the user to be able to access this content anymore. This could become a loophole that they would take advantage of. (unlock content, then get refunded and keep their access to said content)
Question:
Is there any way for us to check if a user has been refunded for an IAP with either their transactionId, transactionReceipt, or any other information we may have?
For Reference, I've read the StoreKitGuide, it did not mention this case.
No. There is no way to revoke access to content if they have been refunded. I believe this is by design. It is the same with App Store refunds; if someone buys an app and then asks Apple for a refund, Apple does not stop the user from continuing to use the app.
No. you cannot stop user to access. Apple does not stop user to use that feature after refund
Below a recent answer from the overbearing Apple!!!
At April 11
Hello Joe,
Thanks for your quick reply at first.
I think there were some misunderstandings. We understand that you must protect the user information. And we do not require any user info. We do not require any user's information---- iTunes account, User Name, email address and other information about himself/herself.
We require only one data----- transaction id (named "transactionIdentify" in your code), for example "1000000033409668" (this transaction id is a record at March 13).
A user buys a product from IAP, you will generate a "transaction id" and send it to us. This transaction id is stored in our database then. Now he/she gets refunds from you, so please send the transaction id to us. Let us know which one in the game canceled the IAP.
When a refund occurs, we think you should provide the transaction id to us. With these data, we could make a more fair service for all players. If you do not do it, more and more players will use your refund mechanism to get game items without real payment. You and we will lose money then. We think it is very important.
Regards,
Baibo
At April 12
Hello Baibo,
Thank you for following up with me regarding the refund transaction data.
We will not be able to provide you with the refund transaction data you have requested as it is not a feature or benefit provided to you per the contracts you have agreed to.
To view your paid applications contract and review your membership benefits, please access the contracts, tax and banking module within iTunes Connect:
http://itunesconnect.apple.com
If you are not happy with large refunds, you may want to consider adjusting the price of your in-app purchases as we will not be able to provide you with the refund transaction data in the future.
According to an answer one of my users received from Apple, refunding an app means they will no longer receive updates to the app, but doesn't remove the app from the device. IAP appears to work the same.
I am wondering if there is not a way by using restoreCompletedTransactions to check for the iAP purchase, but this would pop up a request for the user's iTunes password, so its use is limited.

How to get some user Information when user buy some items on Apple In app purchase by swift?

I am working an app that has In app purchase function.
And i need some unique user information when they make some purchases in order to store it on my Database for some reason.
So how can i get some info like email,username or userId from the purchased user?
Thanks!
You cannot obtain this information from the Apple purchase flow, so the answer depends on what you are trying to accomplish.
If you are selling a non-consumable item, such as a game unlock, Deepak's solution will work for you -- by providing a "restore" button in you application the user will be able to connect to their iTunes account from any of their devices and re-obtain the item.
If you are selling a consumable item, such as in-game currency, you should have the users register with your backend service and be authenticated when they make their purchase. Once you have verified the purchase you can write it to your database and you will be responsible for restoring their state regardless of the device they log in on.
Note that if you combine these approaches it would be possible, though unlikely, that a user could share a non-consumable purchase by using the same iTunes account but different accounts on your system by performing a Apple restore action. If you are managing your own inventory on a server, I recommend using consumables.
So the short answer is, if you want that information, you have to ask for it from the user.
[Answer is valid if you have users registered with your system]The transactions can be restored based on user who has logged into your system ,please refer to link here then you can map the information from your system to the product you are selling via in-app purchase.

Get list of in-app purchases (order ids) in iTunes Connect reports

My first app with in-app purchases just released on the app store. The buyer gets an email as purchase receipt with an order ID in it.
But I can't find the order ID - or any list with each single sale - on the iTunes Connect site.
I had a look into the user guide but there is no order Id in their.
Am I missing something? Is there any way to make check if a person claims he/she has bought the in-app feature? Something else than the order id maybe?
I do have a list of order ids for the android version of the app in the Google Wallet Merchant Account. Hopefully Apple has something similar.
Thanks for your help.

Is there a way to get IAP receipt from iTunes Account?

One of my app is running well on Apple Appstore also generating revenues. In that app user has to pay through Auto-Renewable Subscription for registration. On 13th May (Day before yesterday) a user tried to create his account but after the payment was done, my server could not saved IAP Receipt. It might happen through internet connectivity issue with the device. The App flow is:
Put values for registration like name, surname, email, pwd
Press register button
In app purchase starts
Payment is done
Get receipt from apple.
Save receipt on my server db along with his login details
So in the case that failed, the process could not reach 5th and 6th step and I could not get payment receipt. Also there in no registration details are there on my server db.
After verifying the payment, I gave him access to use the app by creating his account manually. But still I want the payment receipt so that i can further check his subscription is active or not.
Is it possible to get payment receipt now? Even in NSData form? My I tunes account is having anything related to this?

Resources