View Issue Details

IDProjectCategoryView StatusLast Update
0009220Talerlibeufin-bankpublic2024-10-07 16:35
Reportersebasjm Assigned Tosebasjm  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version0.14 
Target Version0.14Fixed in Version0.14 
Summary0009220: cant create transaction using subject as payto param
Descriptioncurl '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"}
TagsNo tags attached.

Activities

sebasjm

2024-09-23 23:20

developer   ~0023361

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

Antoine A

2024-09-27 12:44

developer   ~0023381

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' ?

sebasjm

2024-09-29 22:52

developer   ~0023404

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)

sebasjm

2024-09-29 22:52

developer   ~0023405

fixed by @christian here https://bugs.gnunet.org/view.php?id=9216

Issue History

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
2024-10-07 16:35 Christian Grothoff Fixed in Version => 0.14