feat: Convert QrData into Qr data image source url (#1674)

This commit is contained in:
Sangamesh Kulkarni
2023-07-12 11:44:12 +05:30
committed by GitHub
parent ccd74613db
commit 55ff761e9e
4 changed files with 60 additions and 0 deletions

View File

@ -32,3 +32,7 @@ pub(crate) const PUB_SUB_CHANNEL: &str = "hyperswitch_invalidate";
// Apple Pay validation url
pub(crate) const APPLEPAY_VALIDATION_URL: &str =
"https://apple-pay-gateway-cert.apple.com/paymentservices/startSession";
// Qr Image data source starts with this string
// The base64 image data will be appended to it to image data source
pub(crate) const QR_IMAGE_DATA_SOURCE_STRING: &str = "data:image/png;base64";