Skip to content

Commit

Permalink
updated sdk version in brazil docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Subhash703 committed Jan 26, 2025
1 parent 04f1605 commit 0bf16ba
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 19 deletions.
13 changes: 4 additions & 9 deletions android-java/br/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,13 @@ dependencies {
}

//block:start:add-sdk-implementation
// Note : <client_id> & <tenant_name> are provided by Juspay for your merchant account.
hyperSdkPlugin {
clientConfigs {
<india_client_id> {
tenantName = "juspayindia"
}
<global_client_id> {
tenantName = "juspayglobal"
<client_id> {
tenantName = "<tenant_name>"
}
}
sdkVersion = "2.2.2-rc.01"
sdkVersion = "2.2.2-rc.02"
}
// Note : minimum of 1 client config is required in clientConfigs. If the SDK is not required to be used in India then the global client config can be used.
// <india_client> : The client id provided by Juspay for India.
// <global_client> : The client id provided by Juspay for Global Business.
//block:end:add-sdk-implementation
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ public class CheckoutActivity extends FragmentActivity {
public void onCreate(@Nullable Bundle savedInstanceState, @Nullable PersistableBundle persistentState) {
super.onCreate(savedInstanceState, persistentState);

/**
* TENANT_NAME : `juspayglobal` for business running outside india, otherwise `juspayindia`
* CLIENT_ID : client ID shared by Juspay Team for that specific tenant.
*/
hyperServiceHolder = new HyperServiceHolder(this, "<TENANT_NAME>", "<CLIENT_ID>");
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,7 @@ protected void onCreate(Bundle savedInstanceState) {
protected void onStart() {
super.onStart();
//block:start:create-hyper-services-instance

/**
* TENANT_NAME : `juspayglobal` for business running outside india, otherwise `juspayindia`
* CLIENT_ID : client ID shared by Juspay for that specific tenant.
*/
hyperServiceHolder = new HyperServiceHolder(this, "<TENANT_NAME>", "<CLIENT_ID>");

//block:end:create-hyper-services-instance
initiatePaymentsSDK();
proceedButton = findViewById(R.id.rectangle_8);
Expand Down

0 comments on commit 0bf16ba

Please sign in to comment.