public void PayExample() { var paymentInfo = ToNSMutableDictionary(PaymentInfo.ExamplePayment()); MoMoPayment.ShareInstant.InitPaymentInformation(info: paymentInfo, bundleId: "com.momo.appv2.ios", type_environment: MomoEnvirontment.Development); MoMoPayment.ShareInstant.RequestToken(); }
public void PayExample() { //var paymentInfo = ToNSMutableDictionary(PaymentInfo.ExamplePayment()); //MoMoPayment.ShareInstant.InitPaymentInformation(info: paymentInfo, bundleId: "com.momo.appv2.ios", // type_environment: MomoEnvirontment.Development); //MoMoPayment.ShareInstant.RequestToken(); AppMoMoLib.Instance.SetAction(AppMoMoLib.ACTION.Payment); AppMoMoLib.Instance.SetActionType(AppMoMoLib.ACTION_TYPE.GetToken); var paymentInfo = ToNSMutableDictionary(PaymentInfo.ExamplePayment()); AppMoMoLib.Instance.RequestMoMoCallBack(CrossCurrentActivity.Current.Activity, paymentInfo); }