Skip to content

Commit 5b6538b

Browse files
Merge pull request #191 from paypay/feature/update-user-agent-header
Feature/update user agent header
2 parents f40d342 + 2b488fb commit 5b6538b

7 files changed

Lines changed: 15 additions & 10 deletions

File tree

DynamicQRCode.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Before integrating with the SDK, run through this checklist:
2727
Add this dependency to your project's build file:
2828

2929
```groovy
30-
compile "jp.ne.paypay:paypayopa:1.0.3"
30+
compile "jp.ne.paypay:paypayopa:1.0.8"
3131
```
3232
### Build your Client
3333
Build your client by adding your API Key and Secret like defined below. We enable API Authentication using HMAC, however the SDK will take care of the authentication by itself. [Click here](https://www.paypay.ne.jp/opa/doc/v1.0/dynamicqrcode#tag/Api-Authentication) if you want to know more about the authentication.

PendingPayment.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ gradle install
3737
<dependency>
3838
<groupId>jp.ne.paypay</groupId>
3939
<artifactId>paypayopa</artifactId>
40-
<version>1.0.3</version>
40+
<version>1.0.8</version>
4141
<scope>compile</scope>
4242
</dependency>
4343
#Gradle: Add this dependency to your project's build file:
44-
compile "jp.ne.paypay:paypayopa:1.0.3"
44+
compile "jp.ne.paypay:paypayopa:1.0.8"
4545
```
4646
### Build your Client
4747
Build your client by adding your API Key and Secret like defined below. We enable API Authentication using HMAC, however the SDK will take care of the authentication by itself. [Click here](https://www.paypay.ne.jp/opa/doc/v1.0/pending_payments#tag/Api-Authentication) if you want to know more about the authentication.

PreAuthCapture.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ gradle install
3636
<dependency>
3737
<groupId>jp.ne.paypay</groupId>
3838
<artifactId>paypayopa</artifactId>
39-
<version>1.0.3</version>
39+
<version>1.0.8</version>
4040
<scope>compile</scope>
4141
</dependency>
4242
#Gradle: Add this dependency to your project's build file:
43-
compile "jp.ne.paypay:paypayopa:1.0.3"
43+
compile "jp.ne.paypay:paypayopa:1.0.8"
4444
```
4545
### Build your Client
4646
Build your client by adding your API Key and Secret like defined below. We enable API Authentication using HMAC, however the SDK will take care of the authentication by itself. [Click here](https://www.paypay.ne.jp/opa/doc/v1.0/preauth_capture#tag/Api-Authentication) if you want to know more about the authentication.

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,12 @@ Building the API client library requires Gradle to be installed.
4646
Add this dependency to your project's build.gradle file:
4747

4848
```groovy
49-
compile "jp.ne.paypay:paypayopa:1.0.3"
49+
dependencies {
50+
compile "jp.ne.paypay:paypayopa:1.0.8"
51+
52+
// For Gradle 7+, use implementation instead of compile since it's removed
53+
implementation "jp.ne.paypay:paypayopa:1.0.8"
54+
}
5055
```
5156

5257
## Getting Started

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ apply plugin: 'idea'
1111
apply plugin: 'eclipse'
1212

1313
group = 'jp.ne.paypay'
14-
version = '1.0.7'
14+
version = '1.0.8'
1515

1616

1717

src/main/java/jp/ne/paypay/api/ApiConstants.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ public class ApiConstants {
1616
public static final String CONTENT_TYPE = "Content-Type";
1717
public static final String USER_AUTHORIZATION_ID = "userAuthorizationId";
1818
public static final String RESOLVE_BASE_URL = "https://developer.paypay.ne.jp/develop/resolve";
19-
public static final String USER_AGENT = "PayPay-SDK/1.0.3/java";
19+
public static final String USER_AGENT = "PayPay-SDK/1.0.8/java";
2020
}

userAuth.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ gradle install
1212
<dependency>
1313
<groupId>jp.ne.paypay</groupId>
1414
<artifactId>paypayopa</artifactId>
15-
<version>1.0.3</version>
15+
<version>1.0.8</version>
1616
<scope>compile</scope>
1717
</dependency>
1818
#Gradle: Add this dependency to your project's build file:
19-
compile "jp.ne.paypay:paypayopa:1.0.3"
19+
compile "jp.ne.paypay:paypayopa:1.0.8"
2020
```
2121
### Build your Client
2222
Build your client by adding your API Key and Secret like defined below. We enable API Authentication using HMAC, however the SDK will take care of the authentication by itself. [Click here](https://www.paypay.ne.jp/opa/doc/v1.0/pending_payments#tag/Api-Authentication) if you want to know more about the authentication.

0 commit comments

Comments
 (0)