Bläddra i källkod

update payment parameter

tomoya 1 år sedan
förälder
incheckning
5aee01ce9e

+ 1 - 1
frontend/src/components/Payment.vue

@@ -21,7 +21,7 @@ const epayment = ref("ecpay");
 async function ecpay() {
   isLoading.value = true;
   const data: PaymentData = {
-    item: `Credit 60 X${credit.value}`,
+    item: `Credit ${60 *credit.value}`,
     amount: 500 * credit.value,
   };
   if (data.amount <= 0) {

+ 1 - 1
frontend/src/views/main/admin/TestPayment.vue

@@ -17,7 +17,7 @@ const epayment = ref("ecpay");
 
 async function ecpay() {
   const data: PaymentData = {
-    item: `Credit 60 X${credit.value}`,
+    item: `Credit ${60*credit.value}`,
     amount: 500 * credit.value,
   };
   if (data.amount <= 0) {