Re: CRC Value In QR

nikhilp
Helper

CRC Value In QR

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.

11 REPLIES 11
ricardo_visa
Community Scholar

Re: CRC Value In QR

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 




Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.
nikhilp
Helper

Re: CRC Value In QR

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.

ricardo_visa
Community Scholar

Re: CRC Value In QR

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?

 

 

 

 




Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.
ricardo_visa
Community Scholar

Re: CRC Value In QR

Hey @nikhilp  - were you able to figure it out?

 

 




Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.
chansopheak
Occasional Visitor

Re: CRC Value In QR

Hi @Ricardo, I am also looking for QrDataGenerator.jar too. Do you know where I am able to get this lib? Wait your reply. Thanks
API_Products
Visa Developer Support Specialist

Re: CRC Value In QR

Hi @chansopheak,

 

I'll check with the product team and get back soon. 




Thanks,

Tee



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

chansopheak
Occasional Visitor

Re: CRC Value In QR

Hi, Diana. Thanks for reply. How is it going now?
API_Products
Visa Developer Support Specialist

Re: CRC Value In QR

Hi @chansopheak,

 

I followed up with the product team today and I'm still waiting to hear back. 




Thanks,

Tee



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

API_Products
Visa Developer Support Specialist

Re: CRC Value In QR

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. 

 

VD Assets.png




Thanks,

Tee



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.