mirror of
https://github.com/janishutz/libreevent.git
synced 2025-11-25 05:14:23 +00:00
payrexx integration fixed
This commit is contained in:
@@ -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 ) {
|
||||
|
||||
@@ -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 = {};
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"twoFA":"enforce",
|
||||
"twoFAMode":"enhanced",
|
||||
"db":"mysql",
|
||||
"payments":"stripe",
|
||||
"payments":"payrexx",
|
||||
"name":"libreevent",
|
||||
"yourDomain":"http://localhost:8080",
|
||||
"mailSender":"libreevent <no-reply@libreevent.janishutz.com>",
|
||||
|
||||
Reference in New Issue
Block a user