lookfirst/WePay-Java-SDK — pull request #1 by LeBlanc (2012-04-17 21:29:11+00:00)
Title: Fix WePay API endpoints in the Java SDK

The API endpoints set in the SDK (STAGING_URL and PROD_URL) are not the correct endpoints for the API (see https://stage.wepay.com/developer/reference/endpoints). It won't affect anything for stage, but WePay 302 redirects all traffic to https://wepay.com to https://www.wepay.com to keep browser traffic on a consistent domain. Unfortunately, this means that API POST requests to https://wepay.com will get redirected and lose the POST body and any headers. Let me know if you have any questions about this and thanks for writing the Java SDK!