quickpos
Version:
<div align="center"> <h1>💳 QuickPos 🚀</h1> <p><strong>A powerful, multi-gateway payment integration module for Node.js</strong></p> <p>Seamlessly integrate with 50+ payment providers worldwide</p>
15 lines (12 loc) • 487 B
JavaScript
const TokenPay = require('@tokenpayeng/tokenpay');
const tokenPay = new TokenPay.Client({
apiKey: 'EuihncTEtPHdNcsGQnctJnLYUlwUiH',
secretKey: 'xMASVCwiXqMkJtqcUbxLvJRdYYRFuU',
baseUrl: 'https://sandbox-api-gateway.oderopay.com.tr'
});
const request = {
paymentId: 1
};
tokenPay.payment().complete3DSPayment(request)
.then(result => console.info('Complete 3DS payment successful', result))
.catch(err => console.error('Failed to complete 3DS payment', err));