View Issue Details

IDProjectCategoryView StatusLast Update
0008056Talerexchangepublic2024-02-13 01:35
ReporterChristian Grothoff Assigned Tosebasjm  
PrioritynormalSeveritytweakReproducibilityalways
Status assignedResolutionopen 
Platformi7OSDebian GNU/LinuxOS Versionsqueeze
Product Versiongit (master) 
Target Version0.11 
Summary0008056: exchange page returned from /kyc-proof/ on error is in JSON [2d]
DescriptionThis is a problem because we should use a MUST template as the user is redirected to this error page via the browser.

Happened after a challenger-based KYC process for the merchant backend completed, but failed in this final step due to another bug.
TagsNo tags attached.

Relationships

child of 0007681 assignedChristian Grothoff demo doesn't have any KYC checks [2d] 

Activities

Christian Grothoff

2024-02-11 17:06

manager   ~0021247

d0e65570..b13255de includes a (theoretical) fix to the code, more testing needed.

Christian Grothoff

2024-02-13 01:35

manager   ~0021265

Hi Sebastian! The exchange now does properly return HTML responses based on the templates in exchange.git/contrib/*.must.

However, those templates are VERY ugly (no styling at all). Could you work your magic and again provide more sane templates?

The existing templates contain comments about the error message details that are being provided. Some of the *private* inputs should only be included in the generated HTML if the "debug" flag is set. I believe Mustach templates can do that, too...

Christian Grothoff

2024-02-13 01:35

manager   ~0021266

To generate one of the pages, the easiest request to make is:

https://exchange.taler.grothoff.org/kyc-proof/bar?state=9QZ7CCC5QFMWE9FVF50MGYWV7JR92SFHY5KHT8A1A2VNHM37VCRG

Issue History

Date Modified Username Field Change
2024-01-10 16:06 Christian Grothoff New Issue
2024-01-10 16:06 Christian Grothoff Status new => assigned
2024-01-10 16:06 Christian Grothoff Assigned To => Christian Grothoff
2024-01-12 14:05 Christian Grothoff Category exchange API (C) => exchange
2024-01-18 23:38 Christian Grothoff Relationship added child of 0007681
2024-02-06 01:36 Christian Grothoff Summary exchange page returned from /kyc-proof/ on error is in JSON => exchange page returned from /kyc-proof/ on error is in JSON [2d]
2024-02-11 17:06 Christian Grothoff Note Added: 0021247
2024-02-13 01:33 Christian Grothoff Assigned To Christian Grothoff => sebasjm
2024-02-13 01:35 Christian Grothoff Note Added: 0021265
2024-02-13 01:35 Christian Grothoff Note Added: 0021266