• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

killbilling/recurly-java-library: Java library for Recurly

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

killbilling/recurly-java-library

开源软件地址(OpenSource Url):

https://github.com/killbilling/recurly-java-library

开源编程语言(OpenSource Language):

Java 99.9%

开源软件介绍(OpenSource Introduction):

recurly-java-library

Java library for Recurly, originally developed for Kill Bill, an open-source subscription management and billing system.

Getting started

The library is distributed via Maven Central:

<dependency>
    <groupId>com.ning.billing</groupId>
    <artifactId>recurly-java-library</artifactId>
    <version>0.109.0</version>
</dependency>

The easiest way to get started is by looking at the code examples in TestRecurlyClient.java.

⚠️ The underlying HTTP client has changed between 0.34.0 and 0.100.0, see PR#390.

Development

  1. Make sure you can build the project by running the smoke tests: mvn clean test
  2. Go to recurly.com and create an account. This account will be used as a sandbox environment for testing.
  3. In your Recurly account, click on API Credentials (bottom of the left menu), click the Enable API Access button and write down your API Key.
  4. Verify the setup by running the recurly-java-library integration tests (make sure to update your API Key and Subdomain): mvn clean test -Pintegration -Dkillbill.payment.recurly.apiKey=1234567689abcdef -Dkillbill.payment.recurly.subDomain=mycompany
  5. Go to your Recurly account, you should see some data (e.g. account created).
  6. Congrats! You're all set!

Java properties

  • Set -Drecurly.debug=true to output debug information in the info log file
  • Set -Drecurly.page.size=20 to configure the page size for Recurly API calls
  • To run the tests, one can use -Dkillbill.payment.recurly.currency=EUR to override the default USD currency used
  • You may optionally pass the TLS protocol used with the setting -Dkillbill.payment.recurly.tlsProtocol. Keep in mind that Recurly only supports TLSv1.2 and above. This setting defaults to TLSv1.2.

Push notifications

See https://gist.github.com/dbathily/4433939 for an example on how to set it up.

Build

To build the project, use maven:

mvn clean install



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
geopy/geopy: Geocoding library for Python.发布时间:2022-08-15
下一篇:
dixonandmoe/rellax: Lightweight, vanilla javascript parallax library发布时间:2022-08-15
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap