{"id":15102603,"url":"https://github.com/normangyllenhaal/spring-boot-payment-starter","last_synced_at":"2025-10-22T22:31:14.935Z","repository":{"id":26457181,"uuid":"95288148","full_name":"NormanGyllenhaal/spring-boot-payment-starter","owner":"NormanGyllenhaal","description":"google play 和 appstore 服务端支付校验","archived":false,"fork":false,"pushed_at":"2022-06-17T01:48:08.000Z","size":40,"stargazers_count":30,"open_issues_count":1,"forks_count":14,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-30T15:39:04.924Z","etag":null,"topics":["appstore","googleplay","java","payment","spring","springboot"],"latest_commit_sha":null,"homepage":null,"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/NormanGyllenhaal.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}},"created_at":"2017-06-24T09:26:53.000Z","updated_at":"2024-12-04T03:10:16.000Z","dependencies_parsed_at":"2022-08-24T13:21:32.578Z","dependency_job_id":null,"html_url":"https://github.com/NormanGyllenhaal/spring-boot-payment-starter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NormanGyllenhaal%2Fspring-boot-payment-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NormanGyllenhaal%2Fspring-boot-payment-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NormanGyllenhaal%2Fspring-boot-payment-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NormanGyllenhaal%2Fspring-boot-payment-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NormanGyllenhaal","download_url":"https://codeload.github.com/NormanGyllenhaal/spring-boot-payment-starter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237743729,"owners_count":19359287,"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":["appstore","googleplay","java","payment","spring","springboot"],"created_at":"2024-09-25T19:03:06.422Z","updated_at":"2025-10-22T22:31:14.537Z","avatar_url":"https://github.com/NormanGyllenhaal.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"### google play 和 ios 支付校验sdk\n\n[![Build Status](https://travis-ci.org/NormanGyllenhaal/spring-boot-payment-starter.svg?branch=master)](https://travis-ci.org/NormanGyllenhaal/spring-boot-payment-starter)\n\n使用retrofit2 封装google play 和 app store 支付验证api\n\n已提交到maven中央仓库\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003etop.javatool\u003c/groupId\u003e\n    \u003cartifactId\u003espring-boot-payment-starter\u003c/artifactId\u003e\n    \u003cversion\u003e1.2.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n```java\n//app store 消耗购买验证\nAppStorePaymentService.consumeVerify();\n//app store 订阅购买验证\nAppStorePaymentService.subscriptionVerify();\n//google play 消耗购买验证\nGooglePlayPaymentService.productVerify();\n//google   play 订阅购买验证\nGooglePlayPaymentService.subscriptionVerify();\n\n```\n\n- 使用方法\napplication.yml 文件配置\n```yaml\npayment:\n      appStorePassword: appstore 的验证密码\n      # app store 的验证地址  正式和测试环境不同\n      appStoreUrl: https://buy.itunes.apple.com/verifyReceipt/\n      # google play 的验证地址 正式和测试环境相同\n      googlePlayUrl: https://www.googleapis.com/\n      base64PublicKey: google play 本地验证的ras公钥\n```\n\n  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnormangyllenhaal%2Fspring-boot-payment-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnormangyllenhaal%2Fspring-boot-payment-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnormangyllenhaal%2Fspring-boot-payment-starter/lists"}