Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Release v2.0.0 - Major Refactor with New Services and Improved API Client#199

Open
Bello-codebase wants to merge 30 commits into
unicodeveloper:masterunicodeveloper/laravel-paystack:masterfrom
Bello-codebase:masterBello-codebase/laravel-paystack:masterCopy head branch name to clipboard
Open

Release v2.0.0 - Major Refactor with New Services and Improved API Client#199
Bello-codebase wants to merge 30 commits into
unicodeveloper:masterunicodeveloper/laravel-paystack:masterfrom
Bello-codebase:masterBello-codebase/laravel-paystack:masterCopy head branch name to clipboard

Conversation

@Bello-codebase

Copy link
Copy Markdown

This pull request introduces version 2.0.0 of the unicodeveloper/laravel-paystack package, featuring a major refactor of the SDK to improve maintainability, scalability, and developer experience.

Key updates include:

  • Introduction of dedicated service classes for all Paystack API domains (Transaction, Customer, Subscription, Plan, Page, SubAccount, Bank).
  • Implementation of a robust PaystackClient to handle HTTP requests with centralized error handling.
  • Addition of TransRef utility class for unique transaction reference generation.
  • Consistent and comprehensive PHPDoc annotations for all services and methods.
  • Facade updates to expose new services seamlessly.
  • Improved exception handling and code organization following SOLID principles.
  • Updated documentation and usage examples.
  • Configurable retry logic to PaystackClient via retry_attempts and retry_delay in config/paystack.php.
  • Unit and Integration Test

This release lays a solid foundation for easier maintenance, adopting stricter typing, method signatures, and future feature additions.

@Bello-codebase

Copy link
Copy Markdown
Author

Hello @unicodeveloper, Just checking in to see if you’ve had a chance to review this PR.
I’d be happy to adjust the implementation or documentation if needed to better align with the package’s direction. Thanks for your time and for maintaining this project!

@Obrainwave

Copy link
Copy Markdown

Why this is not merged already? Just asking.

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.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.