Page MenuHomePhabricator

Astropay: "go back" (volver) sometimes takes user to the TY page
Closed, ResolvedPublic0 Estimated Story Points

Description

From Pats:
When I click "go back" (volver) sometimes it takes me to the TY page, and sometimes to the Failed page. The ideal behavior would be taking the donor back to the payments page, correct?

Event Timeline

Ejegg subscribed.

This is a longstanding problem that needs a fix from AstroPay. The donor comes back to the result page with a request that looks just like a pending payment.

I followed up on an email thread from last summer with a suggestion to let us set a 'cancel' url along with our 'return' url as a potentially easier fix than changing their status logic.

Just got an email saying some work on the AP side is done - will investigate!

Change 282300 had a related patch set uploaded (by Ejegg):
Maintenance script to get AstroPay payment status

https://gerrit.wikimedia.org/r/282300

Fixed on AstroPay's side - now returns a failure code, so we at least show donors the fail form with 'try again' links.

Change 282300 merged by jenkins-bot:
Maintenance script to get AstroPay payment status

https://gerrit.wikimedia.org/r/282300

DStrine set the point value for this task to 0.Apr 13 2016, 9:52 PM

We should also tell Astropay that the word volver is used on the button for the final step in the flow. That button usually has text like "submit" or "finish". That final button should take the donor to our thank you page.

Hi all, I have been talking with Dlocal about this and they advise that the Volver button will revert to whatever URL we serve up. Our default is set to the TY page in their systems today they advise. I have inquired why they can't return the donor to the prior page in the flow and it feels like a bit of a circuitous discussion. They suggest testing this in their sandbox system together so we can take them through what we want the experience to be. What do we think about this approach?