payrexx integration fixed

This commit is contained in:
2023-09-18 14:07:42 +02:00
parent 5c6f189396
commit 9a4d38be31
3 changed files with 2 additions and 4 deletions

View File

@@ -35,7 +35,7 @@ exports.init = function () {
return {
getGateway: function ( id ) {
const baseUrl = buildBaseUrl( 'Gateway/' + id + '/' );
const url = baseUrl + '&ApiSignature=' + buildSignature();
const url = baseUrl + '&ApiSignature=' + encodeURIComponent( buildSignature() );
return axios.get( url );
},
createGateway: function ( params ) {

View File

@@ -14,8 +14,6 @@ const payrexxModule = require( './module.payrexx.js' );
const payrexx = payrexxModule.init();
const TicketGenerator = new ticket();
payrexx.getGateway( 1 );
let sessionReference = {};
let waitingClients = {};
let pendingPayments = {};