GithubHelp home page GithubHelp logo

extpune / j2pay Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tranxactive/j2pay

0.0 1.0 0.0 1.22 MB

Multi-gateway payment processing library for java

Home Page: http://j2pay.tranxactive.com

License: MIT License

Java 100.00%

j2pay's Introduction

J2Pay

version 2.9.11

J2Pay is an open source multi-gateway payment processing library for Java. Which provides simple and generic api for many gateways. It reduces developers efforts of writing individual code for each gateway. It provides flexibility to write code once for all gateways. It also excludes the efforts of reading docs for individual gateways.

Whats new in 2.7.8

J2pay now supports Authorize and Capture transactions. Below is the list of all the transaction types supported now.

  1. Authorize
  2. Capture
  3. Purchase (Authorize + Capture in one step)
  4. Refund
  5. Recurring
  6. Void

Why use J2Pay

  1. You want multi gateway support in your application.
  2. You do not have time for learning individual payment gateways docs that are also (poorly documented).
  3. You want to support multiple payment gateways in your application without worrying about the implemention of each gateways.
  4. You want to use single api for each gateway.
  5. You dont want to write seperate logic for each gateway.

Generic Request/Response.

If you would like to work with multiple gateways the main problem developers usually face are api prameters names.

for example.

some gateways take first name as fname or first_name or take card number as CardNumber or Card_Number or card.

J2Pay excludes this type of efforts and provide classes for customer details and customer cards which will remain same for all gateways.

Same problem when parsing gateway response.

J2Pay also excluded this type of efforts and provide generic response for all gateways.

for example.

when a transaction is successfully processed some gateways return transaction id as transaction_id or transId or trans_tag blah blah. but if you are using J2pay you will always receive "transactionId".

Documentaion

You can find documention inside docs directory, documentation is build on php so you must host it.

The following gateways are available.

# Gateway Recurring Support Auth + Capture Maintainer(s)
1 Authorize Muhammad Ilyas
2 NMI Muhammad Ilyas
3 PAYEEZY x Muhammad Ilyas
4 PAYFLOW PRO Muhammad Ilyas
5 BillPro Tousif Khan, Muhammad Ilyas
6 EasyPay Tousif Khan, Muhammad Ilyas
7 Checkout x Tousif Khan
8 Stripe Muhammad Ilyas
9 Braintree Muhammad Ilyas

Note if your desired gateway is not in list you are free to create an issue and we will integrate that gateway for you. or you can also write us at [email protected]

Contributing

  1. Fork the project.
  2. Make your feature addition or bug fix.
  3. Commit just the modifications.
  4. Ensure your code is nicely formatted.
  5. Send the pull request.

Contributors are welcome to add or improve gateways but modifications to core library are not allowed, although we are open for suggestions

Contact us.

Feel free to contact us at [email protected]. Your feedback is very important for us.

GOOD LUCK

j2pay's People

Contributors

ilyas2016 avatar tranxactive avatar tousifhasanzai avatar dwamara avatar lukkystunt avatar parkee avatar dependabot[bot] avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.