edx-app-ios
edx-app-ios copied to clipboard
[chore] add SDN prompt for user before payment process
Description
Pre-Purchase
Add a prompt after the user taps the ‘Upgrade’ button that informs the user of their personal data being used to verify SDN. Prompt copy TBD.
- If the user opts-in, continue to the normal check-out flow.
- If the user does not opt-in, cancel the checkout and direct the user to the previous screen.
Add Analytics for SDN accept
or cancel
How to test this PR
- [ ] SDN prompt shows whenever a user clicks on the upgrade CTA.
- [ ] Prompt CTAs Cancel and Accept
- [ ] Tapping Accept will allow the user to continue forward in the purchase flow.
- [ ] Tapping Cancel will take the user back to the Value Prompt.
- [ ] User must accept the SDN prompt to make a purchase.
Notes
Title and message of SDN prompt is not finalised yet.
Changes are looking good to me. @asifbilal786 can you please review it?
@asifbilal786 as i have mentioned before, that is original behaviour of the payments flow. for more clarification on this, a question is already added for the design team and we will follow their suggestion.
All the other changes are good. But I can't approve until getting reply from design team of this comment: https://2u-internal.atlassian.net/browse/LEARNER-8994?focusedCommentId=627749.
We usually wait for the reply, if reply doesn't come and we are close to closing sprint, we make a new ticket and close the original ticket and in other ticket we address the feedback from the design team.
Followup ticket has been created