Replies: 1 comment 2 replies
-
The The purpose of the property I think the field you want to use is the You can also check the QR-Bill validator and drop in your generated PDF to view most errors. |
Beta Was this translation helpful? Give feedback.
-
Hello👋
First of all, thank you for your efforts in creating and maintaining this library!
I'm trying to pass an email address as additional information to the QR code payment so that I can match the payment to a user when I retrieve the XML with the payment details from the bank.
This is how I created a QR code to test the process:
I used the generated QR code to then make a payment. The
RmtInf
section in the resulting payment XML document looked like this:As you can see, there are two error messages
?REJECT?0
and?ERROR?000
, plus the@
character in the message also disappeared (I assume that the bank does not allow certain characters in the message…).Does anybody know how to properly and correctly encode an email address in a QR bill? I would assume that this should be possible. The only thing I can come up with is to encode the email address in base58 (all characters are supported in QR bill) and add it as a message. But this just seems overly complicated, and the person paying the bill would see uninterpretable information in the message field of the payment.
Thanks for any tips and help!
Beta Was this translation helpful? Give feedback.
All reactions