diff --git a/samples/token/src/main/java/SaleWithTokenExample.java b/samples/token/src/main/java/SaleWithTokenExample.java index ae64932b..cb8adc3d 100755 --- a/samples/token/src/main/java/SaleWithTokenExample.java +++ b/samples/token/src/main/java/SaleWithTokenExample.java @@ -21,7 +21,7 @@ public static void main(String[] args) { System.out.println("Response: " + response.getResponse()); System.out.println("Message: " + response.getMessage()); System.out.println("Litle Transaction ID: " + response.getLitleTxnId()); - if(!response.getMessage().equals("Approved")) + if(!response.getMessage().equals("Transaction Received")) throw new RuntimeException(" The SaleWithTokenExample does not give the right response"); } }