Skip to content

Feature version 2016 08 10 #44

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Dec 21, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2016-12-21
* Released v7.0.0, updating API support to 2016-08-10
* No other changes

2016-11-14
* Released v6.1.0, updating API support to 2016-07-13
* Several changes to the auto_capture and auto_release params, read the API changelog at https://developer.wepay.com/general/change-log
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ WePay-Java-SDK

Note
================================
This WePay-Java-SDK is for <a href = "https://www.wepay.com/developer/version/2016-06-22">WePay Api Version 2016-06-22</a>. The jar for the previous API versions can be found in the lib folder.
This WePay-Java-SDK is for <a href = "https://www.wepay.com/developer/version/2016-08-10">WePay Api Version 2016-08-10</a>. The jar for the previous API versions can be found in the lib folder.

Building
================================
Expand Down
Binary file added lib/wepay-2016-07-13.jar
Binary file not shown.
Binary file modified lib/wepay.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<groupId>com.wepay</groupId>
<artifactId>wepay-java-sdk</artifactId>
<version>6.1.0</version>
<version>7.0.0</version>

<name>wepay-java-sdk</name>
<description>WePay Java SDK</description>
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/wepay/net/WePayResource.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ protected static javax.net.ssl.HttpsURLConnection httpsConnect(String call, Stri
connection.setDoInput(true);
connection.setRequestMethod("POST");
connection.setRequestProperty("Content-Type", "application/json");
connection.setRequestProperty("Api-Version", "2016-07-13");
connection.setRequestProperty("User-Agent", "WePay Java SDK v6.1.0");
connection.setRequestProperty("Api-Version", "2016-08-10");
connection.setRequestProperty("User-Agent", "WePay Java SDK v7.0.0");
if (accessToken != null) {
connection.setRequestProperty("Authorization", "Bearer " + accessToken);
}
Expand Down