Messtone Devices Enables GITHUB Process a Payment Example String result=response=getReponseCode( );//00==Success String message=response.getResponse( );//[test system] AUTHORISED}catch(ApiException e){//handle errors}error handling code Example: try {Transactions response=card.authorise(new BigDecimal(“-5.00”)).withCurrency(“EUR”).withAddress(address).excute( );}catch(BuilderException e){//handle builder errors}catch(ConfigurationException e){//handle errors related to robertharper_Messtone_LLC services configuration}catch(GatewayException e){//handle gateway error/exceptions}catch(UnsupportedTransactionException e){//handle errors when the configuration gateway does’t support //desired transaction}catch(ApiException e){handle all other errors}

Leave a comment