add payrexx as payment provider

This commit is contained in:
2023-08-12 12:47:35 +02:00
parent 2c7e0f39bc
commit e634ac5381
17 changed files with 463 additions and 44 deletions

View File

@@ -9,6 +9,9 @@
<template>
<div>
<!-- <h2>Setup check</h2> -->
<!-- TODO: Maybe add -->
<!-- TODO: call config check of payment + check if events are deployed -->
<h2>Settings</h2>
<p>Changing any of these settings requires a restart of libreevent.</p>
<p>Currency codes used must be valid ISO 4217 codes. Read more on <a href="https://libreevent.janishutz.com/docs/admin-panel/settings#currency" target="_blank">this page</a> of the documentation <!-- https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes"--></p>
@@ -171,9 +174,9 @@
},
showPaymentSettings () {
this.$refs.popup.openPopup( 'Payment gateway settings', {
'link': '/payments/settings',
}
, 'iframe' );
'link': '/payments/settings',
}
, 'iframe' );
},
createAccount() {
this.$refs.popup.openPopup( 'Create new admin user', {
@@ -224,6 +227,7 @@
},
handlePopupReturns( data ) {
console.log( data );
// TODO: Delete user
if ( data.status === 'cancel' ) {
console.log( 'user canceled' );
return;