Order pendingOrder = Portal.getInstance().getPricingService().getOrder(Long.valueOf(orderId));
LOGGER.debug("pendingOrder ="+pendingOrder);
//payment authorized
if(pendingOrder != null) {
LOGGER.info("order:" + pendingOrder.getId() + "found for this payment");
PaymentInfo paymentInfo = Portal.getInstance().getPricingService().getPayment(pendingOrder);
LOGGER.debug("paymentInfo ="+paymentInfo);
//verify that payment is not yet registered
if(paymentInfo == null) {
//send email confirmation
if(!pendingOrder.getBuyer().isMailVerified()) {