Mastercard qr code is not recognized when scanning to pay

I have created a qr code and i am using mastercard qr code library to be able to detect the qr code, when i use my banking app as a test to check if it recognizing. It fails as it shown the qr scan code is not recognized as Master card qr code or Zapper. I need some help with my code below.

//qr scan code

<?php
require "vendor/autoload.php";

use EndroidQrCodeQrCode;
use EndroidQrCodeErrorCorrectionLevel;
use EndroidMastercardQRMastercardQRCode;

// Define the payment data
$paymentData = [
    "merchant" => "****",
    "amount" => 100.00, // Payment amount
    "currency" => "USD", // Payment currency
    "reference" => "123456789" // Payment reference
];

// Generate the Mastercard QR code payload
$payload = "MC" . json_encode($paymentData);

// Create the QR code
$qrCode = new QrCode($payload);

// Set QR code options
$qrCode->setSize(300); // Set the size of the QR code
$qrCode->setErrorCorrectionLevel(ErrorCorrectionLevel::LOW); // Set error correction level
//$qrCode->setEncoding(new Encoding('UTF-8')); // Set encoding

// Save the QR code as a PNG image
$qrCode->writeFile('C:/wamp64/www/eCommerce/eshopper/eshopper-1.0.0/img/qrcode.png');

// Output the QR code image
header("Content-Type: image/png");
echo $qrCode->writeString();
exit();

echo "QR code generated successfully!";
?>