iOS: How to find the latest auto-renew/purchase info from the in-app purchase receipt - ios7

I implemented the auto-renew subscription in my iOS app. Once the purchase was done then am passing the receipt data to my own server and on my server am passing that encoded receipt data to iTunes server and get the valid json response with bunch of purchase info. The problem was, the received receipt has all the transactions that was made by user. So, i do not know how to get the latest purchased receipt info from that json response. I need to parse the entire json and then only i can get to know the latest receipt?. Is Apple wont give the latest receipt in top or in bottom?.
Any helps that might be really appreciated.

Finally i found the answer. Actually, you need to parse the entire receipt which was received from apple's itunes server and from that you can know the latest purchased receipt by comparing the previous purchased receipt expire time and the next purchased receipt expire time. You need to do this until you reach end of receipt.

Related

Recieve Steammarketprices of all CSGO Items

is there an API/elegant way to receive a full list of CSGO items that are listed on the Steam Market and their up to date prices?
I know there is this Method:
Steam Market API?
But this only gives you one Item at a time and blocks you if you send too many requests.
I've also seen the CSGOBackpack and BitSkins API but their data is deprecated by a few weeks.
Greetings,
ProfiHartzer

Shopify - inventory_quantity deprecation notification

I am using Shopify Admin REST API for item and inventory sync and I am not sending inventory_quantity field in variants API, but I received following email from Shopify few days ago. I am also sending correct location_id when creating fulfillment and it is created successfully in Shopify.
The location_id field is now required when creating fulfillment and
refund requests.
Inventory_quantity and inventory_quantity_adjustment
can no longer be set on the product variant.
Deprecated in 2019-10 and support will be removed on July 1, 2020
I wanted to know if the email above is a generic email sent by Shopify to all developers? or am I doing something wrong here?
Ignore it if you're sure that you don't use these deprecated attributes anymore. I think they recently introduced this notification system which sends warnings to developers if they detected any deprecated calls in the past. They just alert you, they don't scan your app code so they don't know whether you fixed the issue or not. I was getting similar warnings despite that I was sure that the issue had been fixed earlier.
Anyway, to get peace of mind, go to the Apps area in your Shopify Partners account. The table that lists all your apps has now the API health column showing the status of your apps in terms of deprecated calls. You will see a warning (orange dot) if they detected any deprecated calls in the past 30 days. The warning is provided with some additional information like the last time the issue was detected and the deadline to fix it to, example. You can get more details about the deprecation by clicking on to the warning.
If it's a private app, just check your code again for using the deprecated attributes mentioned in the email.
You will want to check the new Inventory Level and Inventory Item endpoints in the Rest API. With a variant's inventory_item_id and a location ID, you can update inventory.
Clearly you can no longer just set a variant's inventory level. That went the way of the DODO this year.

How to get invoice for the Google BigQuery project

I used Google Bigquery for a month and was billed $800. Since the amount was way high I disabled the billing immediately. However now I need the invoice for the amount charged. If I enable billing back, it gets associated to a new account. For contacting customer support I need billing id which I don't have.
Please let me know, how can I get invoice for this project.
I actually had a similar situation, and I opened a ticket with the wrong billing ID. As long as you have a project ID and you can prove you own the project, they can find the invoice and send it back to you :).

In iOS 7, how to extract the values of Receipt Fields from the In-App Purchase receipts?

I know that in iOS 7, the app's receipt and the In-App Purchase receipts are combined into an encrypted format with a structure shown here, automatically written to storage.
I know receipt(s) have fields, as documented here.
I know how to retrieve the receipt combo by calling appStoreReceiptURL.
I know how to validate that receipt by passing it to Apple servers either directly or via my own server.
But how do I parse the receipt to extract its fields?
I need some kind of identifier for each of the possible In-App Purchases so as to record the user's ownership in a way that I can verify repeatedly later.
If you send the receipt to Apple for validation, you will get back a JSON structure with all the receipt fields. Are you asking how to parse this JSON structure?
Check the issue: A complete solution to LOCALLY validate an in-app receipts and bundle receipts on iOS 7
In one of the provided answer author described the solution how to unseal PKCS7 container by means of OpenSSL and read all the contained fields. But using OpenSSL is only a one way how to read the receipt data. I also know another tool - CargoBay that operates with PKCS7 by means of native iOS methods without any 3-d party libs. I'd recommend also to check this question : iOS Restore in App purchases with receipts

Fedex Shipment Get status of shipping?

I need to integrate Fedex shipping in my website. I am able to get the shipping rates using the 'getRates' method ad also tracking details for testing purpose using the test tracking number '123456789012' and 'track' method.
But I cant extract the status info details from the track response. Which field should I check to get the status of that tracking number? Or since its a teat tracking number, is there any chance that some fields missing in the response? Please help if anyone knows?
Thanks in advance