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

Webhook, Signature verfication integration & refactored structure #5

Open
wants to merge 24 commits into
base: main
Choose a base branch
from

Commits on Oct 15, 2024

  1. refactor: modularize chargily.go into dedicated model files for enhan…

    …ced scalability and clarity
    
    - Refactored chargily.go by dividing it into separate files: params.go, responses.go, and types.go.
    - Moved these model files into a newly created models package to improve separation of concerns.
    - Enhanced maintainability and clarity by organizing related structures and defintions.
    BigBr41n committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    2390c72 View commit details
    Browse the repository at this point in the history
  2. update : the models path to use the params ,the responses types and t…

    …he chargily objects types
    BigBr41n committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    2000cad View commit details
    Browse the repository at this point in the history
  3. refactor: grouping the utils.go(requests_sender.go) and errors(custom…

    …_errors.go) in one utils folder for more calrity and structure organization
    BigBr41n committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    47e8b30 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    500653a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8f75237 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #22 from BigBr41n/refactor/utils

    Refactor/utils
    BigBr41n authored Oct 15, 2024
    Configuration menu
    Copy the full SHA
    a78c784 View commit details
    Browse the repository at this point in the history
  7. refactor: restructure SDK to centralize functionality

    Moved all methods into dedicated files to enhance organization. Refactored the Client struct to provide a unified interface for accessing all SDK functionalities, improving usability and maintainability.
    BigBr41n committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    cd1d371 View commit details
    Browse the repository at this point in the history
  8. refactor: reorganize SDK functions for unified access

    Moved individual functions into separate files for better organization. Implemented a consistent interface across different entities, allowing unified access to functions such as customers.get(), products.get(), customers.create(), and prices.create(). This enhances usability and simplifies interaction with the SDK.
    BigBr41n committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    348a4cc View commit details
    Browse the repository at this point in the history
  9. Merge pull request #23 from BigBr41n/refactor/client/services

    Refactor/client/services
    BigBr41n authored Oct 15, 2024
    Configuration menu
    Copy the full SHA
    c708ec9 View commit details
    Browse the repository at this point in the history
  10. update & refactor : changing the folder struct for more clarity and f…

    …ocus. using the new updates made to the project
    BigBr41n committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    47ce6e7 View commit details
    Browse the repository at this point in the history
  11. update & refactor : changing the folder struct for more clarity and f…

    …ocus. using the new updates made to the project
    BigBr41n committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    8d0ef86 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    f8141eb View commit details
    Browse the repository at this point in the history
  13. update & refactor : changing the folder struct for each of the old ex…

    …amples making it more easy to read and understand the logic flow.
    BigBr41n committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    4b7d184 View commit details
    Browse the repository at this point in the history
  14. Merge pull request #24 from BigBr41n/update/examples

    Update/examples
    BigBr41n authored Oct 15, 2024
    Configuration menu
    Copy the full SHA
    3b18af3 View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2024

  1. refactor & new: moving the types to types.go file and adding new even…

    …tData & webhook event type
    BigBr41n committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    cd4dca4 View commit details
    Browse the repository at this point in the history
  2. feat: webhook setup function to create a webhook handler, custome rou…

    …te & a public method the verify the signature sent by chargily
    BigBr41n committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    f7bb3f1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f3ee0e8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    92dd032 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #25 from BigBr41n/new/webhook/signature-verifier

    New/webhook/signature-verifier
    BigBr41n authored Oct 16, 2024
    Configuration menu
    Copy the full SHA
    bdd3cc0 View commit details
    Browse the repository at this point in the history
  6. new: adding missed examples

    BigBr41n committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    138bed8 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    aa17492 View commit details
    Browse the repository at this point in the history
  8. new: more detailed docs for each service (cusomters, checkouts, payme…

    …nts ...), params & returns explained. example for each function of the services
    BigBr41n committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    8d38337 View commit details
    Browse the repository at this point in the history
  9. Merge pull request #26 from BigBr41n/update/docs/examples

    Update/docs/examples
    BigBr41n authored Oct 16, 2024
    Configuration menu
    Copy the full SHA
    fe4baa1 View commit details
    Browse the repository at this point in the history
  10. Merge pull request #27 from BigBr41n/refactor/improve-architecture

    Refactor/improve architecture
    BigBr41n authored Oct 16, 2024
    Configuration menu
    Copy the full SHA
    b2774e5 View commit details
    Browse the repository at this point in the history