nov / itunes-receipt

Handle iTunes In App Purchase Receipt Verification
MIT License
94 stars 65 forks source link

Fixed thing #10

Closed foodforarabbit closed 9 years ago

foodforarabbit commented 10 years ago

A project that I'm working on has some sandbox receipt data where the latest_receipt_info attribute was an array which causes problems. This fixes that.

edit: Decided to go with @latest as an array and added web_order_line_item_id to reflect sandbox data being passed to me from apple

nov commented 9 years ago

sorry for my late response. do you have any apple documents about an array of latest_receipt_info and web_order_line_item_id?

foodforarabbit commented 9 years ago

Nope, I coded it based on sandbox receipts passed to me from my IOS developer... passed apple validation and is currently working on production. Maybe leave this unmerged because I'm not sure if it is official, but would be useful as reference if anyone runs into similar problems.