I'm currently developing a shopping-related application that allows users to indicate their interest and submit a purchase request. Once the system admin approves their request, the system will automatically send them an email with the SGQR or PayNow QR code attached.
I'm looking for a way to generate these QR codes and include them in the email. Does anyone have experience or resources on how to do this? Specifically, I’m interested in:
I’d really appreciate any insights or references you can share. Thanks in advance!
Related:
What is Singapore Quick Response Code (SGQR):https://www.mas.gov.sg/development/e-payments/sgqr
Hi Kevin,
You may try out the forge, and it shall return you the string that can be displayed in the QR code. Let me know if it helps.
https://www.outsystems.com/forge/component-overview/21266/sgqr-generator-o11
Regards
Kenny
I do not use SQQR but I have develop similar function before.
1. Required Data Format: What data format is needed to generate a valid SGQR or PayNow QR code? ==> this is usually come from regulator, in this case, SGQR. I think you can get more info from this (https://www.mas.gov.sg/development/e-payments/sgqr/for-merchants)
2. Open-Source Libraries/Tools: Are there any recommended open-source libraries or tools for generating these QR codes? ==> this is depends, as I do not know how SGQR provided, but in my case, the QR content is provided by the regulator, and we need to convert it into QR Code, we can use many plugin in the forge for this, example : https://www.outsystems.com/forge/component-overview/8270/qr-code-reactive-o11. But I also have some instance where the regulator provided the base64 of the QR, so we only need to show the image from base64.
3. Payment Gateway Integration: I understand that third-party payment gateways like Stripe or HitPay can generate QR codes, but since automated payment verification isn't needed, is there a simpler way? ==> this is depends, but in my country, there are QR for bank transfer, so the this can be use if you doesn't want to integrate payment gateway, but this is depends on the application case.
To generate an SGQR or PayNow QR code in OutSystems, follow these steps:
Use OutSystems Forge: Search for a QR Code Generator extension in the Forge, such as QRCode. This will help you create QR codes, including SGQR/PayNow formats.
QR Code Generation: If you're using a custom JavaScript solution, you can use libraries like QRCode.js to generate the QR code with the required SGQR data format. Implement the logic to embed PayNow-specific details like the UEN or mobile number, and optional payment amount.
Display QR Code: Use a Web Block or Image widget to show the generated QR code on your screen.
This approach ensures that your app generates the QR code correctly and integrates seamlessly with PayNow apps.Regards,Mukesh kumar S