diff --git a/backend/cmd/server/VERSION b/backend/cmd/server/VERSION index d5d9edcc64..e3a9de6b82 100644 --- a/backend/cmd/server/VERSION +++ b/backend/cmd/server/VERSION @@ -1 +1 @@ -0.1.108.87 +0.1.108.88 diff --git a/backend/internal/handler/payment_handler.go b/backend/internal/handler/payment_handler.go index b2e0d7114a..59d34ba14c 100644 --- a/backend/internal/handler/payment_handler.go +++ b/backend/internal/handler/payment_handler.go @@ -127,6 +127,7 @@ func (h *PaymentHandler) GetCheckoutInfo(c *gin.Context) { Plans: planList, BalanceDisabled: cfg.BalanceDisabled, HelpText: cfg.HelpText, + HelpImageURL: cfg.HelpImageURL, StripePublishableKey: cfg.StripePublishableKey, }) } @@ -138,6 +139,7 @@ type checkoutInfoResponse struct { Plans []checkoutPlan `json:"plans"` BalanceDisabled bool `json:"balance_disabled"` HelpText string `json:"help_text"` + HelpImageURL string `json:"help_image_url"` StripePublishableKey string `json:"stripe_publishable_key"` } diff --git a/frontend/src/types/payment.ts b/frontend/src/types/payment.ts index 2b05761531..cb292edb74 100644 --- a/frontend/src/types/payment.ts +++ b/frontend/src/types/payment.ts @@ -63,6 +63,7 @@ export interface CheckoutInfoResponse { plans: SubscriptionPlan[] balance_disabled: boolean help_text: string + help_image_url: string stripe_publishable_key: string } diff --git a/frontend/src/views/user/PaymentView.vue b/frontend/src/views/user/PaymentView.vue index 50555c4d39..dbd2325a8f 100644 --- a/frontend/src/views/user/PaymentView.vue +++ b/frontend/src/views/user/PaymentView.vue @@ -80,8 +80,11 @@ -
-

{{ checkout.help_text }}

+
+
+ +

{{ checkout.help_text }}

+
@@ -153,7 +156,7 @@ const selectedPlan = ref(null) // All checkout data from single API call const checkout = ref({ methods: {}, global_min: 0, global_max: 0, - plans: [], balance_disabled: false, help_text: '', stripe_publishable_key: '', + plans: [], balance_disabled: false, help_text: '', help_image_url: '', stripe_publishable_key: '', }) const tabs = computed(() => {