Skip to content

Commit

Permalink
testing all
Browse files Browse the repository at this point in the history
  • Loading branch information
AhlaamK-tap committed Oct 6, 2022
1 parent 48ad963 commit 5c18469
Show file tree
Hide file tree
Showing 13 changed files with 5 additions and 4 deletions.
Binary file modified .gradle/6.7/executionHistory/executionHistory.bin
Binary file not shown.
Binary file modified .gradle/6.7/executionHistory/executionHistory.lock
Binary file not shown.
Binary file modified .gradle/6.7/fileHashes/fileHashes.bin
Binary file not shown.
Binary file modified .gradle/6.7/fileHashes/fileHashes.lock
Binary file not shown.
Binary file modified .gradle/6.7/fileHashes/resourceHashesCache.bin
Binary file not shown.
Binary file modified .gradle/6.7/javaCompile/classAnalysis.bin
Binary file not shown.
Binary file modified .gradle/6.7/javaCompile/jarAnalysis.bin
Binary file not shown.
Binary file modified .gradle/6.7/javaCompile/javaCompile.lock
Binary file not shown.
Binary file modified .gradle/6.7/javaCompile/taskHistory.bin
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,8 @@ private void configureSDKSession() {
sdkSession.setAmount(new BigDecimal(20)); //** Required **

// Set Payment Items array list
// sdkSession.setPaymentItems(new ArrayList<>());// ** Optional ** you can pass empty array list
sdkSession.setPaymentItems(settingsManager.getPaymentItems());// ** Optional ** you can pass empty array list
sdkSession.setPaymentItems(new ArrayList<>());// ** Optional ** you can pass empty array list
// sdkSession.setPaymentItems(settingsManager.getPaymentItems());// ** Optional ** you can pass empty array list


sdkSession.setPaymentType("ALL"); //** Merchant can pass paymentType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1490,6 +1490,7 @@ public void initiateGooglePayProcess(CreateTokenGPayRequest createTokenGPayReque
private void possiblyShowGooglePayButton() {

final Optional<JSONObject> isReadyToPayJson = PaymentsUtil.getIsReadyToPayRequest();
// System.out.println("isReadyToPayJson"+isReadyToPayJson);
if (!isReadyToPayJson.isPresent()) {
return;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ private static JSONObject getGatewayTokenizationSpecification() throws JSONExcep
put("type", "PAYMENT_GATEWAY");
put("parameters", new JSONObject() {{
assert PaymentDataSource.getInstance().getGooglePaymentOptions() != null;
put("gateway", Constants.GATEWAY_ID);
put("gateway", PaymentDataSource.getInstance().getGooglePaymentOptions().get(0).getGatewayName());
// put("gateway", PaymentDataSource.getInstance().getGooglePaymentOptions().get(0).getGatewayName());
put("gatewayMerchantId", PaymentDataSource.getInstance().getGooglePaymentOptions().get(0).getGatewayMerchantId());
}});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ private void requestPayment(View view) {
}
PaymentDataRequest request =
PaymentDataRequest.fromJson(paymentDataRequestJson.get().toString());
// System.out.println("request value is>>>"+request.toJson());
// System.out.println("request value is>>>"+request.toJson());

// Since loadPaymentData may show the UI asking the user to select a payment method, we use
// AutoResolveHelper to wait for the user interacting with it. Once completed,
Expand Down

0 comments on commit 5c18469

Please sign in to comment.