use of com.paypal.svcs.services.AdaptivePaymentsService in project openolat by klemens.
the class PaypalManagerImpl method paymentDetails.
@Override
public PaymentDetailsResponse paymentDetails(String key) {
try {
PaymentDetailsRequest paydetailReq = new PaymentDetailsRequest();
paydetailReq.setPayKey(key);
paydetailReq.setRequestEnvelope(getAppRequestEnvelope());
AdaptivePaymentsService apd = new AdaptivePaymentsService(getAccountProperties());
PaymentDetailsResponse paydetailsResp = apd.paymentDetails(paydetailReq);
return paydetailsResp;
} catch (Exception fe) {
log.error("", fe);
return null;
}
}
Aggregations