User:Mars2Real89

TransactionRequest request = new TransactionRequest .amount(new BigDecimal("10.00")) .paymentMethodNonce(nonceFromTheClient) .deviceData(deviceDataFromTheClient) .options .submitForSettlement(true) .done;

Result result = gateway.transaction.sale(request); if (result.isSuccess) { // See result.getTarget for details } else { // Handle errors }