use of com.paypal.svcs.types.ap.PaymentDetailsRequest in project OpenOLAT by OpenOLAT.
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;
}
}
use of com.paypal.svcs.types.ap.PaymentDetailsRequest 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