|
|
@ -373,7 +373,7 @@ public class MainActivity extends AppCompatActivity implements CallableInterface |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void callBack(String source, Object object) { |
|
|
|
public void callBack(String source, Object object) { |
|
|
|
// Logger.logD(source);
|
|
|
|
Logger.logD(source); |
|
|
|
|
|
|
|
|
|
|
|
String code = MainApplication.code; |
|
|
|
String code = MainApplication.code; |
|
|
|
String status = MainApplication.status; |
|
|
|
String status = MainApplication.status; |
|
|
@ -464,6 +464,7 @@ public class MainActivity extends AppCompatActivity implements CallableInterface |
|
|
|
// Payment Response
|
|
|
|
// Payment Response
|
|
|
|
|
|
|
|
|
|
|
|
else if (UploadTransactionSalePaymentService.SUCCESS.equalsIgnoreCase(source)) { |
|
|
|
else if (UploadTransactionSalePaymentService.SUCCESS.equalsIgnoreCase(source)) { |
|
|
|
|
|
|
|
Logger.logD("Code:" + code + ":" + "Status:" + status); |
|
|
|
if (PaymentUtils.validateResponseCodeAndMessage(code, status)) { |
|
|
|
if (PaymentUtils.validateResponseCodeAndMessage(code, status)) { |
|
|
|
PaymentService service = new PaymentService(this); |
|
|
|
PaymentService service = new PaymentService(this); |
|
|
|
service.verifySuccess(MainApplication.currentCode); |
|
|
|
service.verifySuccess(MainApplication.currentCode); |
|
|
|