UNPKG

@softcol/biometrics

Version:

Collection of utility methods for eLogic Biometrics

54 lines (47 loc) 1.3 kB
<!DOCTYPE html> <html> <head> <title>eBiometrics | Test</title> <script src="./bundle.js"></script> </head> <style> body { padding: 30px; } .ebm-wrapper { width: 100%; height: 800px; border-radius: 16px; border: 1px solid #94a3b8; } </style> <body> <h1>eBiometrics Package Test</h1> <div id="ebm" class="ebm-wrapper"></div> <script> const { startFlow } = window.EBiometrics; startFlow({ target: 'ebm', account: '5e73ba79-9159-49a5-a5cc-56eb41c2f590', params: { name: 'David Camilo', lastName: 'Tafur Cubillos', documentType: 'CC', documentNumber: 1022419707, documentDateOfIssue: '2023-05-11', countryCode: '+57', phone: 3102936466, email: 'david.tafur@software-colombia.com', companyName: '', position: '', }, environment: 'development', theme: 'light', provider: 'softcol', onError: (err) => console.log('Ocurrió un error:', err), onSuccess: (data) => console.log('Validacion completada exitosamente:', data), onRetry: () => console.log('El usuario ha reintentado el proceso'), }); </script> </body> </html>