No way to test interactive redirect loop for adding card on staging
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Software Center Agent |
In Progress
|
Undecided
|
Unassigned |
Bug Description
Sometimes, users are redirected to a 3dsecure or Verified by Visa external web site, when adding a credit card. Sometimes, there are issues with this process, and it can be very difficult to debug, as the requests seem arbitrary, and there is no way to force such an interactive process to happen when testing on staging.
I propose to introduce some logic in the staging server to allow basic testing of this, so that we can easily verify our server and client are behaving correctly as expected in this situations. This could be done in the following manner, if I understand correctly:
1) Check for presence of "TEST3DSECURE" (or a similar value) in the name field when submitting the Add Card form.
2) Upon presence of "TEST3DSECURE" in the form, redirect to a simple page elsewhere on our server which contains two buttons, Allow/Deny.
3) Upon pressing of either button, the page will redirect back to our current pages in the same way that a successful/failed 3dsecure request does in the real world.
Having such ability on the staging server would be extremely helpful in testing these scenarios.
Changed in software-center-agent: | |
status: | New → Confirmed |
assignee: | nobody → Vincent Ladeuil (vila) |
Changed in software-center-agent: | |
status: | Confirmed → In Progress |
Changed in software-center-agent: | |
assignee: | Vincent Ladeuil (vila) → nobody |
Changed in software-center-agent: | |
status: | In Progress → Fix Released |
status: | Fix Released → In Progress |
from irc:
<beuno> matiasb can provide details
<beuno> but it's SCA using Pay behind the scenes
<beuno> I suspect it'll be a bit of work in both places
<beuno> but SCA should be able to swap out payment providers