mozilla-vpn-client
mozilla-vpn-client copied to clipboard
Use new v2 Apple IAP Guardian endpoint
Update to new /v2 endpoint that sends just the “original transaction id” (not the whole reciept) to guardian (which guardian forwards to fxa).
/v2 endpoint isn’t in guardian yet.
┆Issue is synchronized with this Jira Task
➤ Betty Fleming commented:
Sarah Bird is monitoring pieces in Guardian and FxA related to this. We will schedule this client once Guardian work is at least in progress. (Probably 1.24 release in Guardian).
➤ Jeremy Swinarton commented:
I’ve revised this ticket a bit – through discussion on https://docs.google.com/document/d/18Yy2bGSdTSvSdydm4dNOfUeMSBJuK9ZVRTcRM1ooBbo ( https://docs.google.com/document/d/18Yy2bGSdTSvSdydm4dNOfUeMSBJuK9ZVRTcRM1ooBbo ) we realized that we don’t need to tie the IAP migration to the v2 endpoint itself. When we release Guardian 1.26, all new IAP subscriptions will automatically be created as FxA subs, even if using the old v1 endpoint. We still plan to implement the v2 endpoint and deprecate the old one, because currently the client has to send us the whole Apple receipt (which can be quite large) whereas going forward only the original_transaction_id will be necessary. We would like to add this as part of 2.10 but it is not strictly required in order to start using FxA. (We also no longer need a dot release because of this.)
➤ Valentina Virlics commented:
Jeremy Swinarton Do we have a due date for this implementation, so that QA team could start testing the Apple IAP subscriptions using the new endpoint? Thank you!
➤ Betty Fleming commented:
Santiago Andrigo Adrienne Davenport This work needs to be done in the December sprint (2.13 release) to support the the cleanup in Guardian related to the IAP work. See description for more info on why we want to do this.
➤ Santiago Andrigo commented:
Sarah Bird Jeremy Swinarton Moved this to the December sprint based off Betty’s comment.
➤ Betty Fleming commented:
Jeremy SwinartonAdrienne Davenport Sarah Bird Santiago Andrigo moving to January sprint.
➤ Jeremy Swinarton commented:
After a discussion with Sarah Bird we have decided to deprioritize this ticket. She correctly pointed out that we can remove ~95% of Apple IAP code from Guardian while the client remains on the v1 endpoint, and we will actually need to maintain it for some time for backward compatibility anyway. Recommendation is to go ahead with the IAP cleanup as part of Fried Chicken but leave this ticket for a later date.