Skip to content

Hỗ trợ thesieure.com#77

Open
minhh2792 wants to merge 5 commits into
masterfrom
thesieure
Open

Hỗ trợ thesieure.com#77
minhh2792 wants to merge 5 commits into
masterfrom
thesieure

Conversation

@minhh2792
Copy link
Copy Markdown
Member

@minhh2792 minhh2792 commented May 27, 2026

Hỗ trợ thesieure.com, và xóa bỏ tàn dư của thesieutoc

@minhh2792 minhh2792 self-assigned this May 27, 2026
Copilot AI review requested due to automatic review settings May 27, 2026 14:34
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 27, 2026

Warning

Review limit reached

@minhh2792, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 10 minutes and 13 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 9e3dc933-eb87-45b6-bd2a-85fb0fa1de58

📥 Commits

Reviewing files that changed from the base of the PR and between aa27485 and 99eccd6.

📒 Files selected for processing (9)
  • dotman-plugin/src/main/java/net/minevn/dotman/providers/CardProvider.kt
  • dotman-plugin/src/main/java/net/minevn/dotman/providers/types/Card2KCP.kt
  • dotman-plugin/src/main/java/net/minevn/dotman/providers/types/TheSieuReCP.kt
  • dotman-plugin/src/main/java/net/minevn/dotman/providers/types/TheSieuTocCP.kt
  • dotman-plugin/src/main/resources/config.yml
  • dotman-plugin/src/main/resources/providers/thesieure.yml
  • dotman-plugin/src/main/resources/providers/thesieutoc.yml
  • dotman-plugin/src/test/java/net/minevn/dotman/test/providers/TheSieuReCPTest.kt
  • dotman-plugin/src/test/java/net/minevn/dotman/test/providers/TheSieuTocCPTest.kt
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch thesieure

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Replaces the existing thesieutoc.net card provider integration with a new thesieure.com integration. The new TheSieuReCP follows the same pattern as Card2KCP (partner-id/partner-key with MD5 signing) and uses the waiting-card flow for delayed settlement.

Changes:

  • Removes TheSieuTocCP provider, its YAML config, and its test; adds TheSieuReCP, providers/thesieure.yml, and TheSieuReCPTest.
  • Registers the thesieure key in CardProvider.init and updates the supported-provider comment in config.yml.
  • Implements parseResponse / isProcessed against the thesieure.com v2 charging API (statuses 1/99 accepted, status code mapping for check responses).

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
dotman-plugin/src/main/java/net/minevn/dotman/providers/types/TheSieuReCP.kt New provider implementation for thesieure.com.
dotman-plugin/src/main/java/net/minevn/dotman/providers/CardProvider.kt Swaps the thesieutoc registration branch for thesieure.
dotman-plugin/src/main/resources/providers/thesieure.yml New provider config with partner-id/partner-key placeholders.
dotman-plugin/src/main/resources/providers/thesieutoc.yml Removed old provider config.
dotman-plugin/src/main/resources/config.yml Updates supported-provider comment list.
dotman-plugin/src/test/java/net/minevn/dotman/test/providers/TheSieuReCPTest.kt New mock-based test covering API URL and a sample doRequest call.
dotman-plugin/src/test/java/net/minevn/dotman/test/providers/TheSieuTocCPTest.kt Removed test for the deleted provider.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +66 to +67
private fun CardPrice.getPriceId() = (CardPrice.entries.indexOf(this) + 1).toString()

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.


# API gạch thẻ sử dụng
# Hỗ trợ các API sau: card2k, gamebank, gachthe1s, gachthe5s
# Hỗ trợ các API sau: card2k, thesieure, gamebank
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants