{"id":26016584,"url":"https://github.com/shivam-dhir/unified-payment-gateway","last_synced_at":"2026-05-05T17:31:35.399Z","repository":{"id":280589491,"uuid":"942502975","full_name":"shivam-dhir/Unified-Payment-Gateway","owner":"shivam-dhir","description":"A scalable backend microservice built with Spring Boot to handle secure online payments, supporting multiple payment gateways, real-time processing, and multi-currency transactions with high availability and security.","archived":false,"fork":false,"pushed_at":"2025-03-05T04:46:23.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-06T03:19:57.767Z","etag":null,"topics":["java","jdbc","jwt-authentication","kafka","openapi","oracle-database","redis","swagger-api"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shivam-dhir.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-04T07:52:43.000Z","updated_at":"2025-03-05T04:50:40.000Z","dependencies_parsed_at":"2025-03-06T03:20:00.900Z","dependency_job_id":"b5678713-aa32-40e4-9c12-fa2c2e9df7d2","html_url":"https://github.com/shivam-dhir/Unified-Payment-Gateway","commit_stats":null,"previous_names":["shivam130502/unified-payment-gateway","shivam-dhir/unified-payment-gateway"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivam-dhir%2FUnified-Payment-Gateway","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivam-dhir%2FUnified-Payment-Gateway/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivam-dhir%2FUnified-Payment-Gateway/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivam-dhir%2FUnified-Payment-Gateway/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shivam-dhir","download_url":"https://codeload.github.com/shivam-dhir/Unified-Payment-Gateway/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242145625,"owners_count":20079161,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["java","jdbc","jwt-authentication","kafka","openapi","oracle-database","redis","swagger-api"],"created_at":"2025-03-06T04:22:06.386Z","updated_at":"2026-05-05T17:31:35.360Z","avatar_url":"https://github.com/shivam-dhir.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Scalable-Online-Payment-Microservice\nA backend service designed to handle online transactions with scalability in mind. It supports secure payment processing, integrates with various payment gateways, and ensures high availability. Ideal for e-commerce platforms and businesses needing reliable payment solutions.\n\n# Features  \n- Scalable Payments: Handles a large volume of transactions simultaneously with low latency.  \n- Multiple Payment Gateways: Supports integration with Paypal as a payment provider.  \n- Transaction Management: Allows tracking and managing payments, refunds, and chargebacks.  \n- Secure Transactions: Utilizes encryption and tokenization for secure data handling.  \n- Real-Time Processing: Provides real-time updates on payment status.  \n- Multi-Currency Support: Supports multiple currencies for global transactions.  \n\n# Technologies Used  \n- Backend Framework: Spring Boot (Java)  \n- Database: Oracle Database (Oracle XE or other versions)  \n- Payment Gateways: Stripe, PayPal, or any other provider (integration support)  \n- JDBC Driver: Oracle JDBC Driver ('ojdbc8.jar')  \n- Authentication: JWT for secure API access  \n- API Documentation: Swagger/OpenAPI  \n- Caching: Redis for faster transaction queries (optional)  \n- Messaging Queue (optional): Kafka or RabbitMQ for transaction event processing  \n\n# Set Up the Environment  \n1. Install Oracle XE (or any other Oracle version):  \n   - Download from [Oracle XE Downloads](https://www.oracle.com/database/technologies/xe-downloads.html).\n\n2. Configure Database:  \n   - Set up the database schema for payment transactions.  \n   - Example connection URL:  \n     '''env\n     DATABASE_URL=jdbc:oracle:thin:@localhost:1521:xe\n     '''\n\n3. Set up the environment variables:  \n   - Create a '.env' file or set system environment variables for the Oracle database connection and payment gateway credentials:  \n     '''env\n     DATABASE_URL=jdbc:oracle:thin:@localhost:1521:xe\n     DB_USERNAME=your_username\n     DB_PASSWORD=your_password\n     PAYMENT_GATEWAY_KEY=your_payment_gateway_api_key\n     REDIS_URL=redis://localhost:6379  # optional\n     JWT_SECRET_KEY=your_jwt_secret_key\n     '''\n\n4. Add Oracle JDBC Driver:  \n   - Ensure you have the Oracle JDBC Driver ('ojdbc8.jar') in your classpath or add it as a dependency in 'pom.xml' if using Maven:  \n     '''xml\n     \u003cdependency\u003e\n         \u003cgroupId\u003ecom.oracle.database.jdbc\u003c/groupId\u003e\n         \u003cartifactId\u003eojdbc8\u003c/artifactId\u003e\n         \u003cversion\u003e19.8.0.0\u003c/version\u003e\n     \u003c/dependency\u003e\n     '''\n\n5. Payment Gateway Integration:  \n   - Ensure you have API keys from the payment gateways (e.g., Stripe, PayPal) for integration.\n\n6. Run the Application:  \n   - To start the Spring Boot application:  \n     '''bash\n     mvn spring-boot:run\n     '''\n\n# Usage  \n- Start the API server using Spring Boot:  \n  '''bash\n  mvn spring-boot:run\n  '''  \n- Access the API documentation at:  \n  '''\n  http://localhost:8080/swagger-ui.html\n  '''\n\n# Endpoints  \n| Endpoint                     | Method | Description                                    |  \n|------------------------------|--------|------------------------------------------------|  \n| '/payments/initiate'          | POST   | Initiate a new payment transaction.            |  \n| '/payments/status/{id}'       | GET    | Check the status of a payment by transaction ID.|  \n| '/payments/refund/{id}'       | POST   | Process a refund for a transaction.            |  \n| '/payments/chargeback/{id}'   | POST   | Process a chargeback for a payment.            |  \n| '/payments/reports'           | GET    | Generate reports on payments and transactions. |  \n\n# Contributing  \nContributions are welcome! Please fork the repository and submit a pull request with detailed notes.\n\n# License  \nThis project is licensed under the MIT License.\n\n---  \nFor more information, contact shivamdhir90@gmail.com.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshivam-dhir%2Funified-payment-gateway","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshivam-dhir%2Funified-payment-gateway","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshivam-dhir%2Funified-payment-gateway/lists"}