diff --git a/backend/internal/payment/provider/easypay.go b/backend/internal/payment/provider/easypay.go index 5cf42c9eea..ec072fd935 100644 --- a/backend/internal/payment/provider/easypay.go +++ b/backend/internal/payment/provider/easypay.go @@ -57,9 +57,9 @@ func (e *EasyPay) SupportedTypes() []payment.PaymentType { func (e *EasyPay) CreatePayment(ctx context.Context, req payment.CreatePaymentRequest) (*payment.CreatePaymentResponse, error) { // Payment mode determined by instance config, not payment type. - // "redirect"/"popup" → hosted page (submit.php); "qrcode"/default → API call (mapi.php). + // "popup" → hosted page (submit.php); "qrcode"/default → API call (mapi.php). mode := e.config["paymentMode"] - if mode == "redirect" || mode == "popup" { + if mode == "popup" { return e.createRedirectPayment(req) } return e.createAPIPayment(ctx, req) diff --git a/frontend/src/components/payment/PaymentProviderDialog.vue b/frontend/src/components/payment/PaymentProviderDialog.vue index c101b3c7af..2a69491b1b 100644 --- a/frontend/src/components/payment/PaymentProviderDialog.vue +++ b/frontend/src/components/payment/PaymentProviderDialog.vue @@ -37,7 +37,7 @@
{{ t('payment.notAvailable') }}
-{{ amountError }}
-{{ t('payment.notAvailable') }}
+{{ amountError }}
+{{ errorMessage }}
-{{ errorMessage }}
+{{ selectedPlan.name }}
+{{ selectedPlan.description }}
+{{ errorMessage }}
+{{ t('payment.noPlans') }}
+{{ t('payment.noPlans') }}
-{{ selectedPlan.name }}
-{{ selectedPlan.description }}
-