{"id":43875591,"url":"https://github.com/eealba/payper-examples","last_synced_at":"2026-02-06T14:43:23.788Z","repository":{"id":273195289,"uuid":"918295573","full_name":"eealba/payper-examples","owner":"eealba","description":"Examples of using Payper","archived":false,"fork":false,"pushed_at":"2025-12-13T20:14:28.000Z","size":249,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-15T13:20:47.962Z","etag":null,"topics":["paypal","paypal-java-sdk","payper-examples","payper-sdk"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eealba.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-01-17T16:33:12.000Z","updated_at":"2025-12-14T18:21:40.000Z","dependencies_parsed_at":"2025-12-13T21:15:33.912Z","dependency_job_id":null,"html_url":"https://github.com/eealba/payper-examples","commit_stats":null,"previous_names":["eealba/payper-examples"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eealba/payper-examples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eealba%2Fpayper-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eealba%2Fpayper-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eealba%2Fpayper-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eealba%2Fpayper-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eealba","download_url":"https://codeload.github.com/eealba/payper-examples/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eealba%2Fpayper-examples/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29165000,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T14:37:12.680Z","status":"ssl_error","status_checked_at":"2026-02-06T14:36:22.973Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["paypal","paypal-java-sdk","payper-examples","payper-sdk"],"created_at":"2026-02-06T14:43:22.704Z","updated_at":"2026-02-06T14:43:23.733Z","avatar_url":"https://github.com/eealba.png","language":"Java","readme":"# Payper Examples — Reference and Quick Guide\n\n[![License](https://img.shields.io/github/license/eealba/payper-examples)](LICENSE) ![Java](https://img.shields.io/badge/Java-17%2B-blue.svg)\n\nThis repository contains small, focused example projects that demonstrate how to integrate Java applications with PayPal using the Payper SDK (Payper Java client). Each subfolder is a standalone example with a dedicated `README.md` that explains the implementation and how to run it.\n\nPurpose: provide practical, copy-paste-ready code that illustrates common PayPal integration scenarios using the Payper SDK — from a 5-minute quickstart to Orders and Subscription flows.\n\n---\n\n## Quick index\n\n| Example | Summary | Link |\n|---|---|---|\n| payper-5-minutes | 5-minute quickstart to validate sandbox credentials and perform a simple Catalog Products API call. | [Open](payper-5-minutes/) |\n| payper-orders-basic | Demonstrates Orders API v2: create, retrieve, confirm payment source, capture. | [Open](payper-orders-basic/) |\n| subscriptions-app | Demonstrates product and subscription plan creation (sync `App.java` and async `AppAsync.java`). | [Open](subscriptions-app/) |\n| webstore | Spring Boot demo webstore showcasing catalog, checkout and backoffice integrations (OpenAPI included). | [Open](webstore/) |\n\n---\n\n## Examples (at a glance)\n\n- payper-5-minutes/\n  - A compact, 5-minute quickstart demonstrating how to configure Payper and make a simple API call (Catalog Products API). Ideal to get started and validate your sandbox credentials quickly.\n  - See: [payper-5-minutes](payper-5-minutes/)\n\n- payper-orders-basic/\n  - A hands-on example focused on the Orders API v2. Covers creating orders, retrieving order details, confirming payment sources, and capturing payments. Includes synchronous client usage and error handling patterns.\n  - See: [payper-orders-basic](payper-orders-basic/)\n\n- subscriptions-app/\n  - Subscription and billing plans example. Demonstrates product creation and subscription plan creation with both synchronous (`App.java`) and asynchronous (`AppAsync.java`) implementations.\n  - See: [subscriptions-app](subscriptions-app/)\n\n- webstore/\n  - A small demonstration web store (Spring Boot) that integrates product catalog and checkout flows using Payper (orders and payments). Includes a backoffice demo and OpenAPI documentation.\n  - See: [webstore](webstore/)\n\n---\n\n## How to use this repository\n\n1. Pick the example you want to explore and open its folder.\n2. Read the example `README.md` for prerequisites and detailed instructions.\n3. Create a credentials file at `~/.payper/credentials.properties` with your sandbox client id and secret, or follow the example-specific instructions for credentials and configuration.\n4. Build and run the project following the instructions inside the chosen example directory.\n\n---\n\n## Resources\n\n- Payper SDK (repository): https://github.com/eealba/payper\n- Payper SDK Wiki: https://github.com/eealba/payper/wiki\n- Example repository (this project): https://github.com/eealba/payper-examples\n- Medium — Payper Part 1 (Getting started / 5-minute guide): https://medium.com/@eealba/payper-java-client-for-paypal-rest-api-part-1-ca626d32875a\n- Medium — Payper Part 2 (Orders API examples): https://medium.com/@eealba/payper-java-client-for-paypal-rest-api-part-2-orders-api-v2-1cae1dc8b7f0\n\n---\n\n## License\n\nThis repository follows the license declared in the top-level `LICENSE` file. The examples are provided for learning and demonstration purposes.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feealba%2Fpayper-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feealba%2Fpayper-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feealba%2Fpayper-examples/lists"}