feat: admin force activation — skip order/wallet checks for BackOffice
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 8m12s

- Proto: add force_activation field to ActivateClubMembershipRequest
- Command: add ForceActivation property
- Handler: wrap steps 2-5 in ForceActivation guard
  - Skip PackagePurchaseMethod check (set to DirectPurchase if None)
  - Skip wallet balance check
  - Skip Magic wallet mode check
  - Skip UserOrder/Transaction validation
- Proto NuGet bumped to 0.0.184
This commit is contained in:
masoodafar-web
2026-02-22 23:51:39 +03:30
parent b9a72b4589
commit 2ca3fd29f9
4 changed files with 110 additions and 85 deletions
@@ -3,7 +3,7 @@
<TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<Version>0.0.183</Version>
<Version>0.0.184</Version>
<DebugType>None</DebugType>
<DebugSymbols>False</DebugSymbols>
<GeneratePackageOnBuild>False</GeneratePackageOnBuild>
@@ -80,6 +80,7 @@ message ActivateClubMembershipRequest
int64 package_id = 2;
google.protobuf.StringValue activation_code = 3;
int32 duration_months = 4;
bool force_activation = 5;
}
// Deactivate Command