Giter Club home page Giter Club logo

spring-boot-payment-starter's Introduction

google play 和 ios 支付校验sdk

Build Status

使用retrofit2 封装google play 和 app store 支付验证api

已提交到maven**仓库

<dependency>
    <groupId>top.javatool</groupId>
    <artifactId>spring-boot-payment-starter</artifactId>
    <version>1.2.0</version>
</dependency>
//app store 消耗购买验证
AppStorePaymentService.consumeVerify();
//app store 订阅购买验证
AppStorePaymentService.subscriptionVerify();
//google play 消耗购买验证
GooglePlayPaymentService.productVerify();
//google   play 订阅购买验证
GooglePlayPaymentService.subscriptionVerify();
  • 使用方法 application.yml 文件配置
payment:
      appStorePassword: appstore 的验证密码
      # app store 的验证地址  正式和测试环境不同
      appStoreUrl: https://buy.itunes.apple.com/verifyReceipt/
      # google play 的验证地址 正式和测试环境相同
      googlePlayUrl: https://www.googleapis.com/
      base64PublicKey: google play 本地验证的ras公钥

spring-boot-payment-starter's People

Contributors

dependabot[bot] avatar normangyllenhaal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  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.