Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: PaymobAccept/paymob-java
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: JavaSampleEE
Choose a base ref
...
head repository: PaymobAccept/paymob-java
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 11 commits
  • 27 files changed
  • 3 contributors

Commits on Oct 16, 2021

  1. Core refactoring

    This commit contains a many important modifications -> Add loggers to every layer on the package. The main purpose is to give whoever is using the package a clear vision to the package process :
    
    -The URL of the API (INFO),
    -The body of the Request (Masked for sensitive data) (DEBUG),
    -The body of the Response (DEBUG),
    -The error code with a clear message of what caused the error (ERROR),
    
    The logger library is Log4j
    
    -> Isolate the FetchingData class and create news 2 classes  the first one is HeaderHandler to handling the headers and this class inherit  from the new class called model class that contains all Fixed data that we use 
    
    The second one is ResponseHandler to handling the response to avoid any conflict with an enhancements,
    
    -> add list request in intention
    -> add refund , void , capture
    abdurahman-hassan committed Oct 16, 2021
    Configuration menu
    Copy the full SHA
    18d1208 View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2021

  1. Merge pull request #1 from PaymobAccept/JavaSampleEE

    Add Java EE Sample project folder
    misraX authored Oct 20, 2021
    Configuration menu
    Copy the full SHA
    453f640 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #3 from PaymobAccept/JavaEnhancements

    Core refactoring
    misraX authored Oct 20, 2021
    Configuration menu
    Copy the full SHA
    597eba0 View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2021

  1. fix the retrieve function , add new features

    In this the commit the  retrieve function has been fixed, and the two features first one the user can customise the base URL and the version of SDK , the name of params has been changed, We added the contractor in each class , encapsulate the array of header in function and add it into contractor, add the model class as a aggregator to use it in the header handler.
    abdurahman-hassan committed Nov 2, 2021
    Configuration menu
    Copy the full SHA
    9d2ff63 View commit details
    Browse the repository at this point in the history
  2. Updating the rm file

    abdurahman-hassan committed Nov 2, 2021
    Configuration menu
    Copy the full SHA
    87c87dd View commit details
    Browse the repository at this point in the history
  3. adding the SVG file to repo to be compatible with the rm file

    abdurahman-hassan committed Nov 2, 2021
    Configuration menu
    Copy the full SHA
    ef831f7 View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2021

  1. Change the base URL and the data type of version

    #2 #4 resolves
    
    In this commit the base URL changed to be "https://flashapi.paymob.com/", also the data type of sdk_api_version changed from int to String
    abdurahman-hassan committed Nov 24, 2021
    Configuration menu
    Copy the full SHA
    7893e69 View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2021

  1. Add customer class

    #6 resolves:
    
    In this commit the customer class is added with List and retrieve functions
    abdurahman-hassan committed Nov 26, 2021
    Configuration menu
    Copy the full SHA
    f7159e2 View commit details
    Browse the repository at this point in the history
  2. Add moto class

    In this commit, pay using the tokenized card has been added,
    
    The developer should add the payload containing these objects:
    
    client_secret="",
    token = "",
    customer_id= "",
    method= "",
    payment_method_id= ,
    
    Then he can call the  moto function, the test example class contains an example with moto.
    abdurahman-hassan committed Nov 26, 2021
    Configuration menu
    Copy the full SHA
    85c2dd7 View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2021

  1. Upgraded Log4j && enhanced the HTTP connection

    In this commit, the log4j has been upgraded to the latest version 2.17.0 ( log4j2 ) in order to fix the security vulnerabilities CVE-2021-45105 - CVE-2021-44228 and CVE-2021-45046 and avoid any past vulnerability as per Apache, 
    
    Log4j2 is totally different from log4j so the implementation has been changed including the log4j.properties file
    
    Also, the HTTP connection has been changed to Async instead of sync to enhance the response time and make the connection more stable,
    
    enhance the HttpClient handling at ResponseHandler class
    abdurahman-hassan committed Dec 19, 2021
    Configuration menu
    Copy the full SHA
    06fc5ed View commit details
    Browse the repository at this point in the history

Commits on May 17, 2022

  1. Merge pull request #4 from PaymobAccept/JavaEnhancements

    fix the retrieve function , add a new features
    Abdurahman-hassan authored May 17, 2022
    Configuration menu
    Copy the full SHA
    f1c4716 View commit details
    Browse the repository at this point in the history
Loading