UI improvements 2

This commit is contained in:
Čarodej
2022-01-03 17:27:39 +01:00
parent 09d8b84870
commit 3b4085f0ca
18 changed files with 218 additions and 226 deletions

View File

@@ -37,7 +37,7 @@
:amount="singleChargeAmount * 100"
:email="user.data.attributes.email"
:paystackkey="config.paystack_public_key"
:reference="reference"
:reference="$generatePaystackReference()"
:callback="paystackPaymentSuccessful"
:close="paystackClosed"
>
@@ -94,16 +94,6 @@ export default {
'config',
'user',
]),
reference() {
let text = "";
let possible =
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
for (let i = 0; i < 10; i++)
text += possible.charAt(Math.floor(Math.random() * possible.length));
return text;
},
},
methods: {
pickedPaymentMethod(driver) {