Beispiel #1
0
 public void SetMoMoData(MoMoPaymentOptions momoOptions, string signatureScripted)
 {
     signature   = signatureScripted;
     accessKey   = momoOptions.AccessKey;
     partnerCode = momoOptions.PartnerCode;
     requestType = momoOptions.RequestType;
     notifyUrl   = momoOptions.NotifyUrl;
     returnUrl   = momoOptions.ReturnUrl;
 }
 public MoMoPaymentHelper(ApiRequestHelper apiRequestHelper, IOptions <MoMoPaymentOptions> momoOptions, IMapper mapper)
 {
     _apiRequestHelper = apiRequestHelper;
     _mapper           = mapper;
     _momoOptions      = momoOptions.Value;
 }