We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have passed the the following Props to remove PAYPAL water mark logo its not working.
let config = [{ useCardIOLogo: false, hideCardIOLogo: false }];
CardIOModule.scanCard(config) .then((card) => { // the scanned card console.log("card details:: ", card);
The text was updated successfully, but these errors were encountered:
Hi @radh82, I was also trying this and was facing the same issue.
The solution for this is that config is an object, not an array.
config
FIX
let config = { useCardIOLogo: false, hideCardIOLogo: false };
Sorry, something went wrong.
its an object. not a object within an array.
example: let config = { useCardIOLogo: false, hideCardIOLogo: true, guideColor: '#90EE90', // scanInstructions:'test', scanExpiry: true, requireExpiry:true, // suppressManualEntry:true, requireCardholderName: true, restrictPostalCodeToNumericOnly: true, usePaypalActionbarIcon: false, detectionMode:'CardIODetectionModeCardImageAndNumber', }; const scanCard = async () => { try { const card = await CardIOModule.scanCard(config); console.log(card); } catch (err) { console.log(err); } };
No branches or pull requests
I have passed the the following Props to remove PAYPAL water mark logo its not working.
let config = [{ useCardIOLogo: false, hideCardIOLogo: false }];
The text was updated successfully, but these errors were encountered: