Migrate missing Alliance SDK methods from PHP SDK to C# #38
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.
Overview
This PR completes the migration of all Alliance SDK functionality from the official PHP Alliance SDK to the C# SDK, addressing issue #XX which requested a comparison and migration of missing functions.
What's Changed
Added 12 new Alliance API methods that were present in the PHP SDK but missing in the C# implementation:
Merchant Management (7 methods)
Service Management (4 methods)
Document Management (1 method)
Technical Details
All new methods follow the established SDK patterns:
PayNlExceptionTesting
Example Usage
Feature Parity
The C# SDK now has 100% feature parity with the official PHP Alliance SDK. All merchant, service, and document management capabilities from the PHP implementation are now available in C#.
Future Considerations
The original issue also mentioned creating a separate Alliance project to avoid requiring alliance functions when not needed. This architectural change was intentionally not included to keep changes minimal and focused. It could be considered as a future enhancement in a separate PR.
Files Changed
Original prompt
Fixes #37
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.