As long as the payment code supports credit card payment, it will be fine
For details, you still need to look at the payment code.
You can pay with a credit card if the payment code supports it.
If the payment code is not supported,
then there is no way to handle this matter.
You can only use your debit card to scan the QR code.