cancel
Showing results for 
Search instead for 
Did you mean: 

Customer Checkout integration with VIVA

LorenzV
Explorer
0 Kudos
188

Dear experts, 

We are located in Belgium and our customer wants to integrate Customer Checkout with payment terminals. 

They are using VIVA as their payment provider (https://www.viva.com). 

The supported protocols on the VIVA side are (https://developer.viva.com/tutorials/pos-terminals/tap-on-phone/integrations/#integrations)

Peer to Peer uses - HTTP protocol and REST API 

We have informed treibauf ag (PEPPER integration) about this and they do not support REST API  with VIVA yet. 

Are there other ways to integrate this for our customers via VIVA? 

Thank you in advance!

Kind regards, 

Lorenz Verhasselt

View Entire Topic
ShaikAzmathulla
Active Participant

Hi ,

Custom Development:

  • Develop a custom service that handles VIVA API calls independently from Treibauf AG. For example:
    • Create a microservice in Node.js

Code : 

const express = require('express');
const axios = require('axios');
const app = express();

app.post('/processPayment', async (req, res) => {
const paymentData = req.body;
const response = await axios.post('https://api.viva.com/payments', paymentData);
res.send(response.data);
});

app.listen(3000, () => console.log('Service running on port 3000'));

Regards , 

LorenzV
Explorer
0 Kudos
Hi There, Thank you for the reply. That part is clear. How can we use the microservice within CCO? As CCO triggers the communication. Is this done via a custom plugin? If so, could you share how this can be done? Kind regards, Lorenz Verhasselt
LorenzV
Explorer
0 Kudos
Hi @ShaikAzmathull, did you have any update about my last comment? Would be much appreciated. Kind regards,