Skip to content

Commit

Permalink
Update heroku server endpoints (#1198)
Browse files Browse the repository at this point in the history
  • Loading branch information
warmkesselj authored Nov 4, 2024
1 parent 124eedc commit 4d0211a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Demo/src/main/java/com/braintreepayments/demo/Settings.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ public class Settings {
static final String SANDBOX_ENV_NAME = "Sandbox";
static final String PRODUCTION_ENV_NAME = "Production";

private static final String PRODUCTION_BASE_SERVER_URL = "https://executive-sample-merchant.herokuapp.com";
private static final String PRODUCTION_BASE_SERVER_URL = "https://braintree-production-merchant-455d21469113.herokuapp.com";
private static final String PRODUCTION_TOKENIZATION_KEY = "production_t2wns2y2_dfy45jdj3dxkmz5m";

private static final String SANDBOX_BASE_SERVER_URL = "https://braintree-sample-merchant.herokuapp.com";
private static final String SANDBOX_BASE_SERVER_URL = "https://braintree-demo-merchant-63b7a2204f6e.herokuapp.com";
private static final String SANDBOX_TOKENIZATION_KEY = "sandbox_tmxhyf7d_dcpspy2brwdjr3qn";

static final String LOCAL_PAYMENTS_TOKENIZATION_KEY = "sandbox_f252zhq7_hh4cpc39zq4rgjcg";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ private String fetchClientToken() {

URL url;
if (withCustomerId) {
url = new URL("https://braintree-sample-merchant.herokuapp.com/client_token?customer_id=" + UUID.randomUUID().toString());
url = new URL("https://braintree-demo-merchant-63b7a2204f6e.herokuapp.com/client_token?customer_id=" + UUID.randomUUID().toString());
} else {
url = new URL("https://braintree-sample-merchant.herokuapp.com/client_token");
url = new URL("https://braintree-demo-merchant-63b7a2204f6e.herokuapp.com/client_token");
}

HttpURLConnection connection = (HttpURLConnection) url.openConnection();
Expand Down

0 comments on commit 4d0211a

Please sign in to comment.