Example #1
0
        public static PaymentRequestContext Configure(
            this PaymentRequestContext context,
            Action <PaymentEventsInternalDelegate> configurationDelegate)
        {
            var paymentEventsDelegate = new PaymentEventsInternalDelegate();

            configurationDelegate(paymentEventsDelegate);

            PaymentEventsHandler.RegisterWebPaymentEventsDelegate(paymentEventsDelegate);

            return(context);
        }
Example #2
0
 public static void RegisterWebPaymentEventsDelegate(PaymentEventsInternalDelegate webPaymentEventsDelegate)
 {
     _webPaymentEventsDelegate = webPaymentEventsDelegate;
 }