View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0009220 | Taler | libeufin-bank | public | 2024-09-23 23:16 | 2024-09-29 22:52 |
Reporter | sebasjm | Assigned To | sebasjm | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 0.14 | ||||
Target Version | 0.14 | ||||
Summary | 0009220: cant create transaction using subject as payto param | ||||
Description | curl 'http://bank.taler.test:1180/accounts/merchant/transactions' --data-raw '{"payto_uri":"payto://iban/DE9714548806481?receiver-name=Exchanger%20Normal&subject=T369W2DTCA1HXD9M9J3W04RQR73A024AC6KNP8NSKXFS4TXMYZZG","amount":"YEIN:2","request_uid":"W3VVKZW26TQGSTP14TQ5AJEQ2A1WE1KE33FN6DN2D9AB3YXJKX3G"}' --compressed --insecure {"code":22,"hint":"Wire transfer lacks subject"} | ||||
Tags | No tags attached. | ||||
|
in many places we mention subject instead of message in the payto the rfc doesn't mention `subject` https://datatracker.ietf.org/doc/rfc8905/ I will be happy to remove the support of the subject parameter, but I'm not sure if this is being used in other places |
|
Yes we use the 'message' query param as the transaction subject. it's quite confusing but it's spec compliant. What do you subject ? That we accept both 'message' or 'subject' ? |
|
this issue was created because the payto in the issue description was generated by the exchange and did not work with libeufin bank. christian fix that here https://bugs.gnunet.org/view.php?id=9216 I was confused by the `subject` but it seems that we don't need to support this, there is no reason. After I read the RFC again i'm against using `subject`, I will remove support from merchant backoffice and any other place (i think that bank-spa also treat `subject` param as `message` param in payto) |
|
fixed by @christian here https://bugs.gnunet.org/view.php?id=9216 |
Date Modified | Username | Field | Change |
---|---|---|---|
2024-09-23 23:16 | sebasjm | New Issue | |
2024-09-23 23:16 | sebasjm | Status | new => assigned |
2024-09-23 23:16 | sebasjm | Assigned To | => Antoine A |
2024-09-23 23:20 | sebasjm | Note Added: 0023361 | |
2024-09-27 12:44 | Antoine A | Assigned To | Antoine A => sebasjm |
2024-09-27 12:44 | Antoine A | Status | assigned => feedback |
2024-09-27 12:44 | Antoine A | Note Added: 0023381 | |
2024-09-29 22:52 | sebasjm | Note Added: 0023404 | |
2024-09-29 22:52 | sebasjm | Status | feedback => resolved |
2024-09-29 22:52 | sebasjm | Resolution | open => fixed |
2024-09-29 22:52 | sebasjm | Note Added: 0023405 |