Conversation
|
Warning Review limit reached
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 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 configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (9)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
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
TheSieuTocCPprovider, its YAML config, and its test; addsTheSieuReCP,providers/thesieure.yml, andTheSieuReCPTest. - Registers the
thesieurekey inCardProvider.initand updates the supported-provider comment inconfig.yml. - Implements
parseResponse/isProcessedagainst 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.
| private fun CardPrice.getPriceId() = (CardPrice.entries.indexOf(this) + 1).toString() | ||
|
|
|
|
||
| # 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 |
Hỗ trợ thesieure.com, và xóa bỏ tàn dư của thesieutoc