GetExpressCheckoutDetailsResponseType responseHeader = (GetExpressCheckoutDetailsResponseType) caller.call("GetExpressCheckoutDetails", checkoutRequest);
if (!responseHeader.getAck().equals(AckCodeType.Success)) {
throw new PaymentException(formatErrorMessage(responseHeader));
}
GetExpressCheckoutDetailsResponseDetailsType responseDetail = responseHeader.getGetExpressCheckoutDetailsResponseDetails();
PayerInfoType payer = responseDetail.getPayerInfo();
String emailAddress = payer.getPayer().trim();
EntityManager em = JpaConnection.getInstance().getCurrentEntityManager();