Closed zkingboos closed 1 year ago
Apparently, the problem was when generating the QR code because the CNPJ is longer than the CPF, it did not identify correctly and showed me as invalid. Another apparent thing is that the city cannot contain special characters.
I limited my transactionId
to 8 characters and it worked correctly. Thank you for the help anyway 😃
Apparently, the problem was when generating the QR code because the CNPJ is longer than the CPF, it did not identify correctly and showed me as invalid. Another apparent thing is that the city cannot contain special characters.
I limited my
transactionId
to 8 characters and it worked correctly. Thank you for the help anyway 😃
https://github.com/joseviniciusnunes/qrcode-pix/issues/19#issuecomment-1775406673
Can I generate a QR Code for PIX for a business using its CNPJ? I tried using a random key and CPF, which worked perfectly, but when I try using the CNPJ, the QR Code doesn't seem to be valid.