feat(payment): implement a sponsorship payment system using Stripe#9
Merged
lucas-adm merged 6 commits intoNoteHubBR:mainfrom Dec 12, 2025
Merged
feat(payment): implement a sponsorship payment system using Stripe#9lucas-adm merged 6 commits intoNoteHubBR:mainfrom
lucas-adm merged 6 commits intoNoteHubBR:mainfrom
Conversation
This commit introduces the full Stripe integration to handle user sponsorships: • Adds PaymentController and StripeService. • Defines DTOs for the payment endpoints. • Implements the checkout session creation and session verification endpoints. • Adds the Stripe webhook handler for 'checkout.session.completed' events. • Updates security configuration and environment properties for Stripe integration.
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.
Sumário
Este PR integra o Stripe como gateway de pagamento para o sistema de patrocínios, permitindo que usuários realizem checkout de forma segura. Inclui suporte a múltiplos idiomas e padronização das rotas de pagamento.
Alterações
stripe-javapara integração com API do Stripe/api/v1/payment2.0Necessidade
A implementação de um sistema de pagamento robusto é essencial para monetizar os patrocínios da plataforma. O Stripe oferece segurança PCI-compliant, suporte a múltiplas moedas e uma API bem documentada, tornando-o ideal para este caso de uso
Teste manual (em sandbox)
pt-BR,en-US)/api/v1/payment/*Checklist
Breaking Changes
/api/v1/paymentpodem impactar integrações existentes. Clientes devem atualizar endpoints antigos.