Skip to content

Commit c9b7033

Browse files
committed
Fixed issues
1 parent 63ada8c commit c9b7033

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/net/authorize/sample/MobileInAppTransactions/CreateGooglePayTransaction.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,7 @@ public static ANetApiResponse run(String apiLoginId, String transactionKey, Doub
6262

6363
CreateTransactionResponse response = controller.getApiResponse();
6464

65-
if (response!=null) {
66-
// If API Response is ok, go ahead and check the transaction response
65+
if (response != null) {
6766
if (response.getMessages().getResultCode() == MessageTypeEnum.OK) {
6867
TransactionResponse result = response.getTransactionResponse();
6968
if (result.getMessages() != null) {

src/main/java/net/authorize/sample/SampleCode.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ private static void RunMethod(String methodName) {
208208
break;
209209
case "CreateGooglePayTransaction":
210210
CreateGooglePayTransaction.run(apiLoginId, transactionKey, amount);
211+
break;
211212
case "ChargeCustomerProfile":
212213
ChargeCustomerProfile.run(apiLoginId, transactionKey, customerProfileId, customerPaymentProfileId, amount);
213214
break;

0 commit comments

Comments
 (0)