public static PaymentRequestContext Configure( this PaymentRequestContext context, Action <PaymentEventsInternalDelegate> configurationDelegate) { var paymentEventsDelegate = new PaymentEventsInternalDelegate(); configurationDelegate(paymentEventsDelegate); PaymentEventsHandler.RegisterWebPaymentEventsDelegate(paymentEventsDelegate); return(context); }
public static void RegisterWebPaymentEventsDelegate(PaymentEventsInternalDelegate webPaymentEventsDelegate) { _webPaymentEventsDelegate = webPaymentEventsDelegate; }