Skip to content
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

updated sdk version in brazil docs #844

Merged
merged 1 commit into from
Jan 27, 2025
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
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