View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004103 | Taler | Merchant frontends (Python3) | public | 2015-12-25 00:50 | 2024-01-12 14:08 |
Reporter | Florian Dold | Assigned To | Florian Dold | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Product Version | 0.0 | ||||
Target Version | 0.0 | ||||
Summary | 0004103: merchant page returns redirect for /pay, but it should return JSON with a fulfillment link | ||||
Description | This behaviour doesn't work well when we do the /pay via XMLHttpRequest. The XHR automatically handles the redirect, there is no way to intercept this and get the Location header. There is also no portable way to get the final URL, the "responseURL" is not supported by some browsers. | ||||
Tags | No tags attached. | ||||
related to | 0003800 | closed | Florian Dold | Error handling |
|
https://xhr.spec.whatwg.org/#the-responseurl-attribute Do you think it makes sense to rely on this attribute, and have the merchant return 303 so that caching works (because the first request via the XHR/redirect and the second one in the browser will both be GETs). |
|
Making caching work is important, and it seems this is a normal part of the spec, so why not? |
|
This issue currently blocks me for 0003800. |
|
Fixed, in conjunction with updating the wallet to parse the response correctly. |
Date Modified | Username | Field | Change |
---|---|---|---|
2015-12-25 00:50 | Florian Dold | New Issue | |
2015-12-25 00:50 | Florian Dold | Status | new => assigned |
2015-12-25 00:50 | Florian Dold | Assigned To | => Marcello Stanisci |
2015-12-25 00:59 | Florian Dold | Summary | merchant page returns redirect for /pay, but it should return JSON with a linl => merchant page returns redirect for /pay, but it should return JSON with a fulfillment link |
2015-12-25 01:04 | Florian Dold | Note Added: 0010030 | |
2015-12-25 10:18 | Christian Grothoff | Note Added: 0010032 | |
2015-12-25 11:00 | Christian Grothoff | Product Version | => 0.0 |
2015-12-25 11:00 | Christian Grothoff | Target Version | => 0.0 |
2016-01-24 03:34 | Florian Dold | Relationship added | related to 0003800 |
2016-01-24 03:35 | Florian Dold | Note Added: 0010095 | |
2016-01-24 20:15 | Florian Dold | Assigned To | Marcello Stanisci => Florian Dold |
2016-01-24 20:16 | Florian Dold | Note Added: 0010096 | |
2016-01-24 20:16 | Florian Dold | Status | assigned => resolved |
2016-01-24 20:16 | Florian Dold | Resolution | open => fixed |
2016-01-24 22:19 | Christian Grothoff | Status | resolved => closed |
2016-02-17 03:24 | Florian Dold | Category | merchant frontend (demonstrator) => merchant frontend (donations) |
2024-01-12 14:08 | Christian Grothoff | Category | merchant frontend (donations) => Merchant frontends (Python3) |