Hello!
We are trying to generate QR code with Wix QR Code API when user purchase item. Then automatically send it to the customers via Wix Email.
Unfortunately we found that Wix Eamil doesn't support *.svg(QR code format generated by Wix API) on its html. Anyone have some idea of the below topics?
How to embed *.svg on Wix email html.
Otherwise how to transfer *.svg into Base64 by using Wix API?
Or, can simply save QR code on Wix DB as image foramts(png, jpg, etc.)
Other option to apply
Thank you for your attention.
Hey,
Yes, I can help you with that. Here are some ideas to consider:
Convert SVG to PNG: You can convert the SVG QR code to a PNG format, which is supported by Wix Email. You can use a third-party tool like ImageMagick or an online converter to do this conversion. Once you have the PNG file, you can embed it in the email's HTML as an image.
Use a QR Code API that generates PNG: Instead of using the Wix QR Code API, you can use a QR Code API that generates PNG format. There are several QR code APIs available online that you can use, such as QRCode Monkey or QR Code Generator. Once you generate the QR code in PNG format, you can use it in the email's HTML as an image.
Use a different email service: If converting the SVG to PNG or using a different QR code API is not an option, you can consider using a different email service that supports the SVG format. There are several email services available online that support SVG, such as Mailchimp or Campaign Monitor. You can generate the QR code using the Wix QR Code API, embed it in the email's HTML as an SVG image, and then send the email through a different email service.
I hope these ideas help!