WIP: payments, gateways, subscription plans and host dashboard improvements - #273
Merged
Conversation
docs(plan): add payments/gateways/subscription plan Co-Authored-By: Afonso Dutra Nogueira Filho <afonsoft@gmail.com>
afonsoft
self-requested a review
July 31, 2026 17:12
Contributor
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
afonsoft
approved these changes
Jul 31, 2026
…rDelegation and SubscribableEdition - Adds DbSet<T> entries to ProjectNameDbContext - Generates AddSubscriptionPaymentMassNotificationUserDelegationAndSubscribableEdition migration - Fixes pre-existing template test compilation errors (ContentSecurityPolicyMiddleware, SkipMigrate) - Adjusts FeatureProvider tests for PlanFeatures children - Ensures Docker compose starts successfully with SQL Server Co-Authored-By: Afonso Dutra Nogueira Filho <afonsoft@gmail.com>
| return; | ||
| } | ||
|
|
||
| var editionIds = dtos.Where(d => d.EditionId.HasValue).Select(d => d.EditionId.Value).Distinct().ToList(); |
|
|
||
| foreach (var dto in dtos.Where(d => d.EditionId.HasValue)) | ||
| { | ||
| if (editionNames.TryGetValue(dto.EditionId.Value, out var name)) |
| var url = $"https://ws.sandbox.pagseguro.uol.com.br/v2/checkout?email={email}&token={token}"; | ||
|
|
||
| using var httpClient = new HttpClient(); | ||
| var content = new FormUrlEncodedContent(formData); |
Comment on lines
+251
to
+257
| foreach (var dto in dtos.Where(d => d.EditionId.HasValue)) | ||
| { | ||
| if (editionNames.TryGetValue(dto.EditionId.Value, out var name)) | ||
| { | ||
| dto.EditionDisplayName = name; | ||
| } | ||
| } |
…teway settings - Fix PaymentAppService.CreatePaymentAsync to insert once with ExternalPaymentId - Correct Angular service proxy routes (Edition/Payment/Dashboard) - Add create/edit and feature modals for Editions - Add gateway settings and gateway list to Payments - Add tenant subscription assignment/extend modal - Reorganize admin menus: left dashboard/metrics, right header admin - Add missing localization keys for payments/subscriptions/gateways - Validate EF Core migration and Docker compose health Co-Authored-By: Afonso Dutra Nogueira Filho <afonsoft@gmail.com>
- Remove unused IEditionDto and IGetEditionFeaturesEditOutput imports from edition modals - Extract dashboard 'success' style literal into SuccessStyle constant Co-Authored-By: Afonso Dutra Nogueira Filho <afonsoft@gmail.com>
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



All Submissions:
Component Type
Description
What
feature-treecomponent.PaymentAppService.CreatePaymentAsyncso theSubscriptionPaymentis inserted only once, with the gateway-generatedExternalPaymentIdalready set.Edition,PaymentandDashboard(AppServicesuffix removed from dynamic API paths).EafCore.xmlandEafCore-pt-BR.xml.Invalid column name 'SubscriptionEndDateUtc'error.Why
AppService-suffixed URLs and plain text gateway inputs, making the new payment and edition backend features unreachable.Impact
docker-compose -f docker-compose.all.yml up -d --buildcompletes, the migrator applies the new migration successfully andeaf-apireports healthy.New Feature Submissions
docs/plans)PaymentAppServiceandEditionAppServicecover the backend logic)Changes to Core Features
Breaking Changes
Verification
dotnet build Eaf.sln --configuration Release✅dotnet test Eaf.sln --configuration Release✅ 0 failuresdotnet build Templates/Api/Eaf.ProjectName.sln --configuration Release✅dotnet test Templates/Api/Eaf.ProjectName.sln --configuration Release✅ 211 passed, 1 skippednpx tsc -p Templates/Angular/Eaf.ProjectName.UI/src/tsconfig.app.json --noEmit✅npx ng build --configuration=production(fromTemplates/Angular/Eaf.ProjectName.UI) ✅docker-compose -f docker-compose.all.yml up -d --build✅ (migrator completed, API healthy)Link to Devin session: https://app.devin.ai/sessions/f93753b867284fe79f75deeeb8d50c52
Requested by: @afonsoft