mirror of
https://github.com/janishutz/libreevent.git
synced 2025-11-26 05:44:24 +00:00
add payrexx as payment provider
This commit is contained in:
@@ -17,6 +17,10 @@ module.exports = ( app, settings ) => {
|
||||
res.sendFile( path.join( __dirname + '/../../ui/en/payments/canceled.html' ) );
|
||||
} );
|
||||
|
||||
app.get( '/payments/failed', ( req, res ) => {
|
||||
res.sendFile( path.join( __dirname + '/../../ui/en/payments/failed.html' ) );
|
||||
} );
|
||||
|
||||
app.get( '/tickets/tickets.pdf', ( req, res ) => {
|
||||
if ( req.session.id ) {
|
||||
fs.readFile( path.join( __dirname + '/../tickets/store/' + req.session.id + '.pdf' ), ( error, data ) => {
|
||||
|
||||
Reference in New Issue
Block a user