General Update: Enhanced Features and Improved Performance#69
Merged
corneliusyaovi merged 49 commits intoFlutterwave:devfrom Apr 9, 2025
Merged
General Update: Enhanced Features and Improved Performance#69corneliusyaovi merged 49 commits intoFlutterwave:devfrom
corneliusyaovi merged 49 commits intoFlutterwave:devfrom
Conversation
This commit updates the HTTP client code to set the 'User-Agent' header dynamically based on the SDK version. The User-Agent now follows the format 'FlutterwavePHP/{SDK_VERSION}', where {SDK_VERSION} is the version of the SDK obtained from the EnvVariables class.This change improves the clarity of user-agent information for HTTP requests, helping with tracking and debugging.
The Transaction Service no longer requires a separate event handler as it not has the trait of a event handler.
handle request via the command line using set environment variables.
Update Test using new Test cards.
test package with php8.3
handle custom configurations using PackageConfig::setUp()
the payment controller makes use of the flutterwave standard method by default
This fix ensures that an existing configuration is not overriden
array merge compatibility with 7.4
corneliusyaovi
approved these changes
Apr 9, 2025
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.

Highlights:
Dynamic User-Agent Header: More control over HTTP requests for better environment integration.
Enhanced Transaction Tracking: Deeper insights into transaction events for better fraud detection & debugging.
Expanded Test Coverage: More robust testing for increased reliability and stability.
Refactored Card Service: Improved performance and maintainability for card-related transactions.
Default Modal Customization: Set the default checkout flow modal for a more tailored user experience.
And More! Bug fixes, performance optimizations, and development workflow improvements.
Benefits: