Hello,
I'm working on QR generation for Mvisa. Which contains TLV(Tag Length and Value). I'm facing difficulties while generating CRC value (tag number:63) and its length is 4. Can you please help me with the java code to generate the CRC value?
Looking forward to your reply.
Thanks in advance.
Hey @nikhilp - there is one jar we have which you can use to generate QR. You don't need code, just use that jar and relevant class in jar. You can find this in your assets tab - it has all the documentation you may need in there.
You can find the assets tab in your project dashboard - more here: https://community.developer.visa.com/t5/Developer-Tools/Tutorial-How-to-Create-a-Project-w-Visa-Deve...
Let me know if you find what you are looking for.
Thanks,
Ricardo
Hello,
Thank you for your valuable reply.
I'm not able to use this jar file in my java code. Can you please help with the code to generate the CRC value.
What SDK asset are you using to generate QR code?
If you are using Generator SDK jar, there is a method named generateQrCodeData which you can use to generate QR tlv string. In this method, user can put all the needed tags except crc tag values. This method will generate tlv string along with crc value in it.
Want to try this out and let me know what you get?
Hey @nikhilp - were you able to figure it out?
Hi @chansopheak,
I'll check with the product team and get back soon.
Hi @chansopheak,
I followed up with the product team today and I'm still waiting to hear back.
Hi @chansopheak,
When the user is logged in to their project in the Visa Developer Center (assuming they’ve selected the Visa Direct checkbox when creating the project), they can access the SDKs by clicking on the Assets on the left hand navigation and the SDK tab highlighted in yellow below. There are different versions and they should be able to find what they’re looking for.