cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Customer Checkout integration with VIVA

LorenzV
Explorer
0 Likes
686

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

Accepted Solutions (0)

Answers (3)

Answers (3)

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 Likes
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 Likes
Hi @ShaikAzmathull, did you have any update about my last comment? Would be much appreciated. Kind regards,
R_Zieschang
Active Contributor
0 Likes

Hi @LorenzV ,

sorry for being late to the party. There is an official SAP CCO Viva plugin here:
https://github.com/paymentcco/viva-cco-terminal-integration

Regards
Robert

ShaikAzmathulla
Active Participant
0 Likes

Hi Lorenz,

Thanks for your reply! Yes, you can use a custom plugin within CCO to trigger communication with a microservice. The plugin acts as a bridge, calling the microservice via a defined REST or SOAP endpoint. You’ll configure the plugin with the microservice’s URL, authentication details, and parameters. Once set up, CCO triggers the plugin as part of the communication flow.

LorenzV
Explorer
0 Likes
Hi @ShaikAzmathull, thank you for the response! Is there any documentation available to create a custom plugin? I only can see following links online: https://community.sap.com/t5/crm-and-cx-blogs-by-members/sap-customer-checkout-plugin-development-pa... and https://community.sap.com/t5/crm-and-cx-blogs-by-members/sap-customer-checkout-plugin-development-pa...