From e6348d51e5a95c7cc5cc14d9aad23e428d40edc4 Mon Sep 17 00:00:00 2001 From: jingrow Date: Sat, 10 Jan 2026 00:56:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0paypal=E6=94=AF=E4=BB=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/BuyPrepaidCreditsForm.vue | 171 ++++++++++---- .../components/BuyPrepaidCreditsPayPal.vue | 110 +++++++++ .../components/billing/PrepaidCreditsForm.vue | 102 +++++++- jcloud/api/billing.py | 220 ++++++++++++++++- jcloud/api/payment/paypal.py | 221 ++++++++++++++++++ .../jcloud_settings/jcloud_settings.json | 44 ++++ 6 files changed, 821 insertions(+), 47 deletions(-) create mode 100644 dashboard/src/components/BuyPrepaidCreditsPayPal.vue create mode 100644 jcloud/api/payment/paypal.py diff --git a/dashboard/src/components/BuyPrepaidCreditsForm.vue b/dashboard/src/components/BuyPrepaidCreditsForm.vue index bc710cc..1ce7b6d 100644 --- a/dashboard/src/components/BuyPrepaidCreditsForm.vue +++ b/dashboard/src/components/BuyPrepaidCreditsForm.vue @@ -51,25 +51,98 @@ -