Skip to content

[$250] [Payment card / Subscription] Add SCA support in Transfer Owner flow #42490

Closed

Description

@amyevans

Per this discussion in the Payment card and subscription management in NewDot design doc, we need to support adding a GBP payment card in the "Transfer Owner" flow.

To test

  1. As the owner of a Collect policy, add a new admin
  2. Log into NewDot as that admin
  3. Navigate to Account Settings > Workspaces > [workspace] > Members > click on the row of the current owner > Transfer Owner

Currently, when transferring ownership of a policy in NewDot, the AddBillingCardAndRequestPolicyOwnerChange API command is called. That command is calling UserAPI::addPaymentCard, which doesn't account for “Strong Customer Authentication” aka SCA requirements (which are relevant for GBP-currency payment cards).

Once SCA support is built out for NewDot in the Payment card project, we should use it as a base to extend to the Transfer Owner flow.

Update September 5th 2024

SCA support is now in new dot but making SCA possible for the transfer owner flow has required doing a lot of backend work to make it follow our 1:1:1 rule where 1 action equals with call to the web layer which equals one call to the Auth layer.

Once both of these PRs are merge though (1, 2) then this issue should be unblocked. From there we should follow the plan outlined in this comment to use the new VerifySetupIntentAndRequestPolicyOwnerChange command to complete the SCA transfer owner flow.

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021832164283072592668
  • Upwork Job ID: 1832164283072592668
  • Last Price Increase: 2024-09-06
Issue OwnerCurrent Issue Owner: @DylanDylann

Activity

  1. changed the title [-][HOLD Payment card / Subscription project] Add SCA support in Transfer Owner flow[/-] [+][HOLD] [Payment card / Subscription] Add SCA support in Transfer Owner flow[/+] on May 22, 2024
  2. moved this to Release 2: Summer 2024 (Aug) in [#whatsnext] #wave-collecton May 22, 2024
  3. moved this from Release 2: Summer 2024 (Aug) to Polish in [#whatsnext] #wave-collecton Jun 25, 2024
  4. changed the title [-][HOLD] [Payment card / Subscription] Add SCA support in Transfer Owner flow[/-] [+][HOLD #42432] [Payment card / Subscription] Add SCA support in Transfer Owner flow[/+] on Jul 15, 2024
  5. blimpich commented on Jul 18, 2024

    @blimpich
    Contributor

    Still waiting for SCA to work in the subscription page, making progress.

  6. changed the title [-][HOLD #42432] [Payment card / Subscription] Add SCA support in Transfer Owner flow[/-] [+][Payment card / Subscription] Add SCA support in Transfer Owner flow[/+] on Jul 24, 2024
  7. self-assigned this
    on Aug 2, 2024
  8. 79 remaining items

  9. blimpich commented on Sep 25, 2024

    @blimpich
    Contributor

    @DylanDylann I'm signing off for the day but are you going to be able to review this tomorrow during my work hours (9am-5pm PST)? I'd like to keep the ball rolling on this PR. Thank you!

  10. DylanDylann commented on Oct 14, 2024

    @DylanDylann
    Contributor

    @JmillsExpensify The PR is deployed to production on 2/10. The payment should be ready on 9/10

  11. added
    Awaiting PaymentAuto-added when associated PR is deployed to production
    and removed
    ReviewingHas a PR in review
    on Oct 16, 2024
  12. JmillsExpensify commented on Oct 16, 2024

    @JmillsExpensify
    Contributor

    Ah sorry about that.

    Payment summary: $250 for @DylanDylann for PR review and testing. Payment via Upwork.

  13. JmillsExpensify commented on Oct 16, 2024

    @JmillsExpensify
    Contributor

    All paid out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionEngineeringExternalAdded to denote the issue can be worked on by a contributorNewFeatureSomething to build that is a new item.ReviewingHas a PR in reviewWeeklyKSv2

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions