Search in sources :

Example 1 with PaypalTransactionDetailsController

use of org.olat.resource.accesscontrol.provider.paypal.ui.PaypalTransactionDetailsController in project OpenOLAT by OpenOLAT.

the class PaypalAccessHandler method createTransactionDetailsController.

@Override
public FormController createTransactionDetailsController(UserRequest ureq, WindowControl wControl, Order order, OrderPart part, AccessMethod method, Form form) {
    PaypalManager paypalManager = CoreSpringFactory.getImpl(PaypalManager.class);
    PaypalTransaction transaction = paypalManager.loadTransaction(order, part);
    return new PaypalTransactionDetailsController(ureq, wControl, transaction, form);
}
Also used : PaypalManager(org.olat.resource.accesscontrol.provider.paypal.manager.PaypalManager) PaypalTransaction(org.olat.resource.accesscontrol.provider.paypal.model.PaypalTransaction) PaypalTransactionDetailsController(org.olat.resource.accesscontrol.provider.paypal.ui.PaypalTransactionDetailsController)

Example 2 with PaypalTransactionDetailsController

use of org.olat.resource.accesscontrol.provider.paypal.ui.PaypalTransactionDetailsController in project openolat by klemens.

the class PaypalAccessHandler method createTransactionDetailsController.

@Override
public FormController createTransactionDetailsController(UserRequest ureq, WindowControl wControl, Order order, OrderPart part, AccessMethod method, Form form) {
    PaypalManager paypalManager = CoreSpringFactory.getImpl(PaypalManager.class);
    PaypalTransaction transaction = paypalManager.loadTransaction(order, part);
    return new PaypalTransactionDetailsController(ureq, wControl, transaction, form);
}
Also used : PaypalManager(org.olat.resource.accesscontrol.provider.paypal.manager.PaypalManager) PaypalTransaction(org.olat.resource.accesscontrol.provider.paypal.model.PaypalTransaction) PaypalTransactionDetailsController(org.olat.resource.accesscontrol.provider.paypal.ui.PaypalTransactionDetailsController)

Aggregations

PaypalManager (org.olat.resource.accesscontrol.provider.paypal.manager.PaypalManager)2 PaypalTransaction (org.olat.resource.accesscontrol.provider.paypal.model.PaypalTransaction)2 PaypalTransactionDetailsController (org.olat.resource.accesscontrol.provider.paypal.ui.PaypalTransactionDetailsController)2