Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

General Update: Enhanced Features and Improved Performance #69

Open
wants to merge 29 commits into
base: dev
Choose a base branch
from

Conversation

Abraham-Flutterwave
Copy link
Contributor

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:

  • Simplified development, improved performance, enhanced security, and greater flexibility.

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.
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
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.

1 participant