mirror of
https://github.com/janishutz/libreevent.git
synced 2025-11-25 21:34:24 +00:00
general event settings done
This commit is contained in:
@@ -7,10 +7,11 @@
|
||||
*
|
||||
*/
|
||||
|
||||
const fs = require( 'fs' );
|
||||
const path = require( 'path' );
|
||||
const db = require( '../../../db/db.js' );
|
||||
const payrexxConfig = JSON.parse( fs.readFileSync( path.join( __dirname + '/../../../../config/payments.config.secret.json' ) ) )[ 'payrexx' ];
|
||||
// const fs = require( 'fs' );
|
||||
// const path = require( 'path' );
|
||||
// const payrexxConfig = JSON.parse( fs.readFileSync( path.join( __dirname + '/../../../../config/payments.config.secret.json' ) ) )[ 'payrexx' ];
|
||||
// TODO: Verify that it works with temporary site on webhosting account
|
||||
const bodyParser = require( 'body-parser' );
|
||||
const ticket = require( '../../../tickets/ticketGenerator.js' );
|
||||
const payrexxModule = require( './module.payrexx.js' );
|
||||
@@ -32,7 +33,6 @@ module.exports = ( app, settings ) => {
|
||||
'failedRedirectUrl': settings.yourDomain + '/payments/failed',
|
||||
'currency': settings.currency,
|
||||
'basket': [],
|
||||
'pm': payrexxConfig.paymentMethods,
|
||||
'amount': 0,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user