/
308.srt
3827 lines (2814 loc) · 84.4 KB
/
308.srt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
WEBVTT
X-TIMESTAMP-MAP=MPEGTS:181083,LOCAL:00:00:00.000
00:00:00.506 --> 00:00:09.516 A:middle
[ Silence ]
00:00:10.016 --> 00:00:13.000 A:middle
[ Applause ]
00:00:13.316 --> 00:00:13.656 A:middle
>> Thank you.
00:00:15.116 --> 00:00:16.056 A:middle
Good afternoon.
00:00:16.936 --> 00:00:19.936 A:middle
Hi, my name is James Wilson
and I'm the Engineering Manager
00:00:20.106 --> 00:00:21.266 A:middle
for the App Store in OS X.
00:00:22.486 --> 00:00:23.906 A:middle
It's great to see
so many of you here
00:00:23.906 --> 00:00:25.366 A:middle
that are interested
in getting paid.
00:00:26.206 --> 00:00:30.026 A:middle
In this session, we're going
to be talking all about how
00:00:30.026 --> 00:00:32.636 A:middle
to protect your digital
sales using receipts.
00:00:35.316 --> 00:00:38.626 A:middle
There's a huge amount of
revenue that is being generated
00:00:39.236 --> 00:00:40.426 A:middle
through In-App Purchases.
00:00:41.536 --> 00:00:48.856 A:middle
In fact, so much so that just a
few days ago, 96% of the top 25,
00:00:48.906 --> 00:00:51.906 A:middle
top grossing apps for the
iPhone were free apps,
00:00:52.936 --> 00:00:54.966 A:middle
and they were using
In-App Purchases alone
00:00:55.466 --> 00:00:59.056 A:middle
to generate enough revenue to
make them top grossing apps.
WEBVTT
X-TIMESTAMP-MAP=MPEGTS:181083,LOCAL:00:00:00.000
00:01:00.226 --> 00:01:03.776 A:middle
Now that's huge groundswell
of momentum and popularity
00:01:03.836 --> 00:01:06.566 A:middle
for the free with In-App
Purchase, or Freemium model,
00:01:07.356 --> 00:01:09.956 A:middle
combined with the
continued popularity of paid,
00:01:10.166 --> 00:01:11.836 A:middle
with or without In-App
Purchases,
00:01:13.146 --> 00:01:16.136 A:middle
means that there is a lot
of importance for you,
00:01:16.136 --> 00:01:18.636 A:middle
the developer, to protect
those digital sales
00:01:19.516 --> 00:01:23.706 A:middle
and to secure your revenue,
because if your app is easy
00:01:23.706 --> 00:01:27.186 A:middle
to be pirated, cracked,
stolen, and shared around,
00:01:27.946 --> 00:01:31.216 A:middle
there's no money
in that for you.
00:01:31.696 --> 00:01:35.356 A:middle
So in this session, I'm going
to introduce you to the concept
00:01:35.356 --> 00:01:38.926 A:middle
of the receipt, and the
receipt is the foundation upon
00:01:38.926 --> 00:01:41.616 A:middle
which you can build your
business model enforcement logic
00:01:42.036 --> 00:01:45.116 A:middle
directly into your app, as
well as into your servers
00:01:45.276 --> 00:01:47.246 A:middle
that are providing the
content out to your users.
00:01:48.446 --> 00:01:50.796 A:middle
We are going to introduce you
to the receipt, how it works,
00:01:50.796 --> 00:01:53.406 A:middle
what's in it, when you
get them, then we're going
00:01:53.406 --> 00:01:57.416 A:middle
to actually look down into the
code level on both iOS and OS X
00:01:57.926 --> 00:02:00.876 A:middle
as to how you actually go
about validating these receipts
WEBVTT
X-TIMESTAMP-MAP=MPEGTS:181083,LOCAL:00:00:00.000
00:01:57.926 --> 00:02:00.876 A:middle
as to how you actually go
about validating these receipts
00:02:01.166 --> 00:02:04.626 A:middle
and getting the purchase
information out of them.
00:02:04.826 --> 00:02:05.706 A:middle
We'll do some -- we'll do a look
00:02:05.706 --> 00:02:07.856 A:middle
into some platform
specific concerns about how
00:02:07.856 --> 00:02:11.006 A:middle
to implement receipt
validation, and then finally,
00:02:11.006 --> 00:02:13.406 A:middle
we'll look at the test
environment that you can use
00:02:13.436 --> 00:02:16.206 A:middle
to make sure that you
ship code that's bug free.
00:02:16.776 --> 00:02:20.666 A:middle
So the receipt.
00:02:21.576 --> 00:02:25.976 A:middle
It's exactly like the
receipt that you get
00:02:25.976 --> 00:02:28.066 A:middle
when you're shopping
at a physical store.
00:02:28.646 --> 00:02:30.316 A:middle
Just like when you're
at a department store,
00:02:30.746 --> 00:02:33.736 A:middle
you're at the checkout,
you exchange your cash
00:02:33.736 --> 00:02:34.796 A:middle
for goods that you're buying.
00:02:35.326 --> 00:02:37.086 A:middle
Not only do you get those
goods that you've bought,
00:02:37.496 --> 00:02:38.906 A:middle
but you get a receipt, as well.
00:02:39.446 --> 00:02:43.256 A:middle
That little piece of paper that
verifies exactly what you paid
00:02:43.256 --> 00:02:49.246 A:middle
for in this store, and it's
that little piece of paper
00:02:49.246 --> 00:02:53.006 A:middle
that that physical store that
you're in can use as the basis
00:02:53.006 --> 00:02:55.176 A:middle
of their security
model to make sure
00:02:55.176 --> 00:02:56.986 A:middle
that their goods don't
go walking out the door
00:02:56.986 --> 00:02:58.176 A:middle
with a five finger discount.
00:02:59.556 --> 00:03:02.176 A:middle
Likewise in the App
Store, the receipt is
WEBVTT
X-TIMESTAMP-MAP=MPEGTS:181083,LOCAL:00:00:00.000
00:02:59.556 --> 00:03:02.176 A:middle
Likewise in the App
Store, the receipt is
00:03:02.176 --> 00:03:03.326 A:middle
that digital equivalent.
00:03:04.706 --> 00:03:08.356 A:middle
The receipt is your trusted and
verifiable record of purchase.
00:03:08.926 --> 00:03:11.836 A:middle
It's issued by the App Store
and contains signatures
00:03:12.066 --> 00:03:15.366 A:middle
and certificates and security
measures that make sure
00:03:15.366 --> 00:03:17.136 A:middle
that it came from
Apple and is unaltered,
00:03:18.316 --> 00:03:21.936 A:middle
and that it ties directly to
your app on a specific device.
00:03:23.186 --> 00:03:25.516 A:middle
Now if you're a paid app, this
is really important obviously
00:03:25.516 --> 00:03:26.886 A:middle
for implementing
copy protection,
00:03:27.966 --> 00:03:29.696 A:middle
and if you're a free app
with In-App Purchases
00:03:29.786 --> 00:03:31.416 A:middle
or a paid app using
In-App Purchases,
00:03:31.906 --> 00:03:33.766 A:middle
the receipt is what you use
00:03:33.766 --> 00:03:35.926 A:middle
to know exactly what
the customer paid for so
00:03:36.436 --> 00:03:38.796 A:middle
that you can unlock
features and content.
00:03:41.196 --> 00:03:44.236 A:middle
So understanding the receipt
and knowing how it works,
00:03:44.396 --> 00:03:47.136 A:middle
knowing how to validate it and
get the purchase information
00:03:47.136 --> 00:03:50.226 A:middle
out of it, is how you
enable your business model
00:03:50.696 --> 00:03:53.596 A:middle
in your apps directly,
as well as in servers
00:03:53.596 --> 00:03:56.416 A:middle
that you have issuing content
and assets out to customers.
00:03:57.826 --> 00:04:01.836 A:middle
Using the receipt is how you
know exactly what the user has
WEBVTT
X-TIMESTAMP-MAP=MPEGTS:181083,LOCAL:00:00:00.000
00:03:57.826 --> 00:04:01.836 A:middle
Using the receipt is how you
know exactly what the user has
00:04:01.896 --> 00:04:02.376 A:middle
paid for.
00:04:06.076 --> 00:04:07.656 A:middle
Now if you haven't
looked into how
00:04:07.656 --> 00:04:10.996 A:middle
to do receipt validation before,
or maybe you've looked at it
00:04:10.996 --> 00:04:13.516 A:middle
but haven't yet implemented
it, this session is going
00:04:13.516 --> 00:04:15.076 A:middle
to be great for you because
we're going to take you
00:04:15.076 --> 00:04:16.546 A:middle
through a step-by-step look
00:04:16.815 --> 00:04:18.706 A:middle
at exactly how you
validate the receipt
00:04:18.706 --> 00:04:21.476 A:middle
and get the purchase
information out of it.
00:04:22.106 --> 00:04:25.766 A:middle
For my iOS developers who are
already doing receipt checking
00:04:25.966 --> 00:04:29.226 A:middle
in iOS 6 and earlier, using the
methods we had available then,
00:04:30.276 --> 00:04:32.736 A:middle
I've got some new
APIs for you and also,
00:04:32.736 --> 00:04:35.016 A:middle
a change in the receipt
format that is going
00:04:35.016 --> 00:04:36.656 A:middle
to give you even
greater flexibility
00:04:36.656 --> 00:04:40.366 A:middle
and a whole lot more power to
not only validate purchases
00:04:40.486 --> 00:04:43.136 A:middle
on your servers, but to
validate the receipts
00:04:43.216 --> 00:04:44.456 A:middle
on the device itself.
00:04:45.006 --> 00:04:50.586 A:middle
But now for my OS X developers,
I think you'll particularly
00:04:50.586 --> 00:04:53.746 A:middle
like this because the
receipt format that you know
00:04:53.746 --> 00:04:56.436 A:middle
and understand and that we've
been using since we debuted
00:04:57.056 --> 00:04:59.046 A:middle
on the -- since we
debuted the Mac App Store,
WEBVTT
X-TIMESTAMP-MAP=MPEGTS:181083,LOCAL:00:00:00.000
00:05:00.426 --> 00:05:03.186 A:middle
is now the exact same receipt
format that we are using
00:05:03.186 --> 00:05:06.476 A:middle
across iOS 7 and OS X.
00:05:07.596 --> 00:05:13.396 A:middle
This gives you a unified,
trusted, validated,
00:05:13.726 --> 00:05:17.146 A:middle
proof of purchase or purchase
record across both platforms
00:05:17.256 --> 00:05:19.216 A:middle
to know exactly what the
customer has paid for.
00:05:19.806 --> 00:05:24.306 A:middle
Not only do we now have the
unified receipt model across iOS
00:05:24.306 --> 00:05:28.106 A:middle
and OS X, but the receipt
now includes two new pieces
00:05:28.106 --> 00:05:28.766 A:middle
of information.
00:05:29.726 --> 00:05:31.776 A:middle
If you've opted into the
Volume Purchase Program
00:05:31.776 --> 00:05:34.266 A:middle
to license your app out
to business and education,
00:05:34.576 --> 00:05:36.396 A:middle
there's extra information
in the receipt now
00:05:36.396 --> 00:05:40.126 A:middle
that tells you whether that
receipt is allocated to a user
00:05:40.126 --> 00:05:42.466 A:middle
or whether it has been
revoked from them,
00:05:43.036 --> 00:05:44.906 A:middle
but I think the most
exciting thing that's
00:05:44.906 --> 00:05:46.996 A:middle
in the receipt this year,
especially for you guys,
00:05:47.026 --> 00:05:48.536 A:middle
if you have a paid
app in the store,
00:05:49.416 --> 00:05:50.766 A:middle
is that we've included
information
00:05:50.766 --> 00:05:52.876 A:middle
in the receipt that's going
to let you do a transition
00:05:52.876 --> 00:05:56.476 A:middle
from being a paid app to being
a free app with In-App Purchases
00:05:57.086 --> 00:05:58.966 A:middle
without leaving behind
all the customers
00:05:58.966 --> 00:06:01.476 A:middle
that have already
paid for your app.
WEBVTT
X-TIMESTAMP-MAP=MPEGTS:181083,LOCAL:00:00:00.000
00:05:58.966 --> 00:06:01.476 A:middle
that have already
paid for your app.
00:06:04.726 --> 00:06:04.946 A:middle
[Applause] Right.
00:06:05.186 --> 00:06:06.116 A:middle
Which is important, right?
00:06:06.116 --> 00:06:07.966 A:middle
Because you can see that
there's this huge groundswell
00:06:07.966 --> 00:06:10.886 A:middle
of momentum towards the Freemium
model but you don't want
00:06:10.886 --> 00:06:13.526 A:middle
to leave behind people who've
already paid for your app.
00:06:16.096 --> 00:06:18.816 A:middle
So the receipts, this
foundation, this core upon
00:06:18.816 --> 00:06:21.006 A:middle
which you build enforcement
of your business model,
00:06:21.236 --> 00:06:22.316 A:middle
directly into your apps.
00:06:23.876 --> 00:06:26.586 A:middle
When it comes to the finding
exactly how you're going
00:06:26.586 --> 00:06:29.186 A:middle
to enforce your business
model, that's going
00:06:29.186 --> 00:06:31.686 A:middle
to be something that's
unique to your app.
00:06:32.656 --> 00:06:34.146 A:middle
Everyone's app is
different, right?
00:06:35.286 --> 00:06:37.096 A:middle
You have a different
value proposition,
00:06:37.226 --> 00:06:39.486 A:middle
different price point,
different target market,
00:06:39.556 --> 00:06:41.906 A:middle
different customers, different
expectations, everything.
00:06:43.066 --> 00:06:45.776 A:middle
Everyone's app is
unique, and the products
00:06:45.776 --> 00:06:47.456 A:middle
that you're selling,
be it the app itself
00:06:47.456 --> 00:06:50.626 A:middle
or through In-App Purchases,
they have different values.
00:06:51.936 --> 00:06:55.166 A:middle
That uniqueness needs to
translate into how you decide
00:06:55.476 --> 00:06:56.846 A:middle
to enforce your business model
00:06:57.156 --> 00:06:59.586 A:middle
and protect your revenue,
your app and servers.
WEBVTT
X-TIMESTAMP-MAP=MPEGTS:181083,LOCAL:00:00:00.000
00:07:00.406 --> 00:07:01.346 A:middle
So it's like a recipe.
00:07:02.466 --> 00:07:04.196 A:middle
Together we're going to
bake a cake that's going
00:07:04.266 --> 00:07:05.446 A:middle
to make sure you get paid.
00:07:06.936 --> 00:07:08.636 A:middle
Apple has got some ingredients
that we're going to bring
00:07:08.636 --> 00:07:11.126 A:middle
to the table, but there's
some that you'll need to bring
00:07:11.126 --> 00:07:14.526 A:middle
to the table as well, but the
great thing is that I'm going
00:07:14.526 --> 00:07:17.376 A:middle
to show you that all of these
things that you need to work out
00:07:17.696 --> 00:07:20.866 A:middle
and work out how you want to
approach them, they're all based
00:07:20.866 --> 00:07:23.716 A:middle
on standards that are open and
very well used and there's lots
00:07:23.716 --> 00:07:26.326 A:middle
of examples, third-party
libraries ready to go,
00:07:26.726 --> 00:07:28.076 A:middle
plus you have the flexibility
00:07:28.336 --> 00:07:30.336 A:middle
to write the code
yourself if you choose.
00:07:30.766 --> 00:07:34.376 A:middle
Because Apple gives you the
receipt format specification
00:07:34.376 --> 00:07:37.626 A:middle
itself and the receipt is
based on open standards,
00:07:37.626 --> 00:07:41.576 A:middle
everything in the
receipt is based
00:07:41.576 --> 00:07:43.616 A:middle
on an open standard that's
very well documented,
00:07:44.066 --> 00:07:47.036 A:middle
used industry wide, and is used
in many, many different ways.
00:07:47.576 --> 00:07:52.716 A:middle
We give you the receipt itself,
and we give you instructions
00:07:52.716 --> 00:07:55.516 A:middle
on how to do both on-device
validation for the receipt,
00:07:55.606 --> 00:07:58.706 A:middle
as well as validating the
receipt server-to-server,
00:07:58.956 --> 00:08:00.446 A:middle
if you have servers
out there that need
WEBVTT
X-TIMESTAMP-MAP=MPEGTS:181083,LOCAL:00:00:00.000
00:07:58.956 --> 00:08:00.446 A:middle
if you have servers
out there that need
00:08:00.446 --> 00:08:02.186 A:middle
to validate these
before issuing content.
00:08:03.466 --> 00:08:06.546 A:middle
But it's up to you guys,
you the developers,
00:08:06.986 --> 00:08:08.656 A:middle
to make some decisions
along the way
00:08:09.526 --> 00:08:12.276 A:middle
about exactly what security
level is important for you,
00:08:12.726 --> 00:08:13.976 A:middle
and I'm going to
call those out to you
00:08:13.976 --> 00:08:14.976 A:middle
as we go through these slides.
00:08:15.516 --> 00:08:20.576 A:middle
[ Pause ]
00:08:21.076 --> 00:08:23.876 A:middle
So let's start with an
understanding of the receipts.
00:08:27.176 --> 00:08:30.906 A:middle
So a receipt, again, just like
the physical receipt you get
00:08:30.906 --> 00:08:34.076 A:middle
in the store, is issued when
a transaction takes place
00:08:34.116 --> 00:08:36.135 A:middle
between the App Store
and your app.
00:08:37.226 --> 00:08:40.806 A:middle
So when your app is purchased
or updated, a receipt is issued.
00:08:42.066 --> 00:08:44.306 A:middle
If someone performs an In-App
Purchase or there are stores
00:08:44.306 --> 00:08:45.476 A:middle
that have completed
transactions,
00:08:46.386 --> 00:08:47.216 A:middle
a receipt is issued.
00:08:48.076 --> 00:08:50.226 A:middle
If you've opted into the
Great Volume Purchase Program,
00:08:50.936 --> 00:08:53.096 A:middle
when the license is
allocated or when it's revoked
00:08:53.096 --> 00:08:55.056 A:middle
from that user, a
receipt's issued.
00:08:56.596 --> 00:08:59.856 A:middle
There's also some on-demand APIs
that you can use within your app
WEBVTT
X-TIMESTAMP-MAP=MPEGTS:181083,LOCAL:00:00:00.000
00:09:00.266 --> 00:09:01.836 A:middle
to get in your receipt
if it appears
00:09:01.836 --> 00:09:05.056 A:middle
that the one there is missing
or doesn't appear to be valid
00:09:05.056 --> 00:09:06.376 A:middle
for your app on this device.
00:09:08.716 --> 00:09:09.946 A:middle
So what's in these things?
00:09:11.736 --> 00:09:12.926 A:middle
So within the receipt itself,
00:09:13.956 --> 00:09:16.376 A:middle
first and foremost there's
certificates and signatures,
00:09:16.726 --> 00:09:18.666 A:middle
and this allows you to make
sure it came from Apple
00:09:18.666 --> 00:09:19.836 A:middle
and hasn't been tampered with.
00:09:21.026 --> 00:09:23.966 A:middle
There's information that ties
the receipt directly to your app
00:09:24.096 --> 00:09:26.656 A:middle
on a specific device,
so it hasn't been copied
00:09:26.656 --> 00:09:29.206 A:middle
around between people, it
hasn't been copied from one app
00:09:29.256 --> 00:09:32.286 A:middle
to another app, it's
legitimately for your app
00:09:32.676 --> 00:09:36.616 A:middle
on a single device, and then
once you know that it's trusted
00:09:36.616 --> 00:09:39.196 A:middle
and it's for your app on this
device, you can get a whole lot
00:09:39.196 --> 00:09:40.886 A:middle
of purchase information
out of that receipt.
00:09:42.236 --> 00:09:44.526 A:middle
You've got purchase information
about the app itself,
00:09:45.146 --> 00:09:47.536 A:middle
plus the In-App Purchases
that the user has made,
00:09:48.716 --> 00:09:51.286 A:middle
and there's also information
there, I mentioned as well,
00:09:51.286 --> 00:09:52.656 A:middle
about the Volume
Purchase Program,
00:09:54.016 --> 00:09:56.066 A:middle
but I think the most exciting
thing that we've added
00:09:56.066 --> 00:09:59.686 A:middle
to the receipt this year is
the initial purchase date
WEBVTT
X-TIMESTAMP-MAP=MPEGTS:181083,LOCAL:00:00:00.000
00:10:00.036 --> 00:10:01.686 A:middle
and initial purchase version.
00:10:02.326 --> 00:10:07.926 A:middle
So for everyone that's got a
paid app on the store today,
00:10:08.826 --> 00:10:11.106 A:middle
and you want to make the
transition to being a free app
00:10:11.106 --> 00:10:13.836 A:middle
with In-App Purchases,
previously that used
00:10:13.836 --> 00:10:18.126 A:middle
to be quite a challenge for you,
because if you simply switch
00:10:18.126 --> 00:10:19.816 A:middle
to being a free app
with In-App Purchases,
00:10:20.176 --> 00:10:21.336 A:middle
your customers would have to go
00:10:21.336 --> 00:10:23.006 A:middle
and buy all those
In-App Purchases again,
00:10:23.006 --> 00:10:23.986 A:middle
but they've already paid for it,
00:10:24.666 --> 00:10:25.646 A:middle
and they're not going
to like that.
00:10:27.156 --> 00:10:29.976 A:middle
So now in the receipt
itself we have the date,
00:10:29.976 --> 00:10:33.806 A:middle
when the user first purchased
your app, and the version
00:10:33.806 --> 00:10:35.066 A:middle
that it was at that time.
00:10:36.476 --> 00:10:38.646 A:middle
So you can use this to
make a really informed,
00:10:38.826 --> 00:10:42.606 A:middle
intelligent decision about
what features and content
00:10:42.606 --> 00:10:46.066 A:middle
to grant this user into, so if
your app looks at the receipt
00:10:46.066 --> 00:10:49.356 A:middle
and inspects it and sees this
user bought my app before I made
00:10:49.356 --> 00:10:51.126 A:middle
the switch to being free
with In-App Purchases,
00:10:51.776 --> 00:10:53.146 A:middle
grant them into what
they've paid for,
00:10:53.666 --> 00:10:57.646 A:middle
but if they purchased your app
after you've made the transition
00:10:57.646 --> 00:10:58.976 A:middle
to being free with
In-App Purchases,
00:10:59.566 --> 00:11:01.886 A:middle
you know then not too
unlock features and content
WEBVTT
X-TIMESTAMP-MAP=MPEGTS:181083,LOCAL:00:00:00.000
00:10:59.566 --> 00:11:01.886 A:middle
you know then not too
unlock features and content
00:11:02.256 --> 00:11:05.246 A:middle
until they make the purchase
and you verify that transaction
00:11:05.386 --> 00:11:06.886 A:middle
with the receipt itself.
00:11:08.256 --> 00:11:10.816 A:middle
So understanding the
receipt not only allows you
00:11:10.816 --> 00:11:12.736 A:middle
to protect your revenue
and your digital sales,
00:11:13.666 --> 00:11:16.476 A:middle
but it's also really
powerful for you
00:11:16.476 --> 00:11:19.796 A:middle
to adjust your business model
to suit changes in the market.
00:11:20.346 --> 00:11:25.586 A:middle
Now speaking of transitions,
I want to talk for a second
00:11:25.586 --> 00:11:28.176 A:middle
to iOS developers who are
already doing receipt checking
00:11:28.176 --> 00:11:30.016 A:middle
for In-App Purchases on iOS 6.
00:11:31.056 --> 00:11:33.526 A:middle
For OS X developers and anyone
else that's not doing this
00:11:33.526 --> 00:11:35.466 A:middle
receipt checking, if
you've got a moment,
00:11:35.676 --> 00:11:37.956 A:middle
hit the documentation
slide and have a look
00:11:37.956 --> 00:11:39.386 A:middle
for the receipt validation
guide,
00:11:39.386 --> 00:11:40.646 A:middle
because that's what we're going
00:11:40.646 --> 00:11:41.806 A:middle
to be going through
very shortly.
00:11:42.346 --> 00:11:48.036 A:middle
But for iOS developers who are
already doing receipt checking
00:11:48.386 --> 00:11:52.056 A:middle
on iOS 6 and earlier
-- don't panic.
00:11:53.246 --> 00:11:56.716 A:middle
Your app as it is today in the
store doing receipt checking
00:11:56.976 --> 00:12:00.296 A:middle
on iOS 6 will continue
to work in iOS 7.
WEBVTT
X-TIMESTAMP-MAP=MPEGTS:181083,LOCAL:00:00:00.000
00:11:56.976 --> 00:12:00.296 A:middle
on iOS 6 will continue
to work in iOS 7.
00:12:00.806 --> 00:12:05.386 A:middle
iOS 7 is binary compatible with
the receipt checking methods
00:12:05.386 --> 00:12:11.466 A:middle
that we shipped in iOS 6, but
those APIs are deprecated.
00:12:12.676 --> 00:12:16.726 A:middle
So you need to make the
jump to using the iOS 7 way
00:12:16.726 --> 00:12:18.346 A:middle
of doing receipt validation,
00:12:19.686 --> 00:12:21.546 A:middle
not just because the
receipts are deprecated,
00:12:21.996 --> 00:12:25.126 A:middle