Skip to content

Conversation

@TaprootFreak
Copy link
Collaborator

Summary

  • Block credit card payments in PaymentInfoService with clear error message
  • Add PAYMENT_METHOD_NOT_ALLOWED to QuoteError enum for quote requests
  • Return error early in TransactionHelper for card payment quotes
  • Remove obsolete card-specific validation checks

Important

Bitte diesen PR nur prüfen, noch nicht mergen. Dieser PR dient als Vorbereitung und soll zunächst nur reviewed werden.

Test plan

  • Verify API returns error for credit card payment requests
  • Verify quote endpoint returns PaymentMethodNotAllowed for card payments
  • Confirm bank transfer payments still work correctly

- Block credit card payments in PaymentInfoService with clear error message
- Add PAYMENT_METHOD_NOT_ALLOWED to QuoteError enum
- Return error early in TransactionHelper for card payment quotes
- Remove obsolete card-specific validation checks
Copy link
Member

@Yannick1712 Yannick1712 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • update services

Resolve conflicts:
- quote-error.enum.ts: Keep PAYMENT_METHOD_NOT_ALLOWED (card payments disabled)
- transaction-helper.ts: Remove card-specific checks (now blocked early)
@github-actions
Copy link

github-actions bot commented Jan 9, 2026

🤖 PR Review Bot

⚠️ Non-Conventional Commits (2)

The following commits don't follow conventional commit format:

  • fafebea Disable credit card payment option
  • 434dad3 Merge branch 'develop' into feature/disable-credit-card-payment

Expected: type(scope): description
Types: feat, fix, refactor, test, ci, docs, chore, perf, style, build, revert


⚠️ Security: 0 critical, 67 high vulnerabilities


This is an automated review. Please address the issues above.

@TaprootFreak TaprootFreak merged commit 16c6087 into develop Jan 9, 2026
6 checks passed
@TaprootFreak TaprootFreak deleted the feature/disable-credit-card-payment branch January 9, 2026 10:43
@github-actions github-actions bot mentioned this pull request Jan 9, 2026
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants