Update reader model from COTS_DEVICE to TAP_TO_PAY_DEVICE #15961
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.


Fixes WOOMOB-890
Description
Note: I have NOT tested this PR, so please make sure to verify the value is correctly propagated to Stripe. I tried building the app locally (I don't have current provisioning profiles) and I tried downloading the firebase version (it doesn't support TTP).
The Android and iOS apps have been sending cots_device value in the reader_model parameter/meta-data on PaymentIntent.
However, with the update of Stripe SDK, we renamed this value to TAP_TO_PAY_DEVICE on Android.
The goal of this task is to bring iOS to consistency with Android and change the value to TAP_TO_PAY_DEVICE. The WooPayments server handles the value correctly after the merge of https://github.com/Automattic/transact-platform-server/pull/7539.
Testing information
TAP_TO_PAY_DEVICEvalue in the reader model.Screenshots
RELEASE-NOTES.txtif necessary.