public void UserDidProvideCreditCardInfo(CardIOCreditCardInfo cardInfo, CardIOPaymentViewController paymentViewController) { paymentViewController.DismissViewController(true, null); _retrieveCardSuccess?.Invoke(cardInfo); if (!_formsConfig.StoreUserData) { ClearUserData(); } }
public void UserDidProvideCreditCardInfo(CardIOCreditCardInfo cardInfo, CardIOPaymentViewController paymentViewController) { paymentViewController.DismissViewController(true, null); RetrieveCardSuccess?.Invoke(cardInfo); }
public override void UserDidProvideCreditCardInfo(CardIOCreditCardInfo cardInfo, CardIOPaymentViewController paymentViewController) { PayPalManager.UserDidProvideCreditCardInfo(cardInfo, paymentViewController); }
/// <summary> /// Overrides the Card IO delegate method called after the user completes the Card IO view controller. /// </summary> /// <param name="CreditCardInfo">The retrieved credit card information.</param> /// <param name="PaymentViewController">The Card IO payment view controller.</param> public override void InPaymentViewController (CardIOCreditCardInfo cardInfo, CardIOPaymentViewController paymentViewController) { if ( CardIORetrievalCompleted != null ) CardIORetrievalCompleted.Invoke (new CardIORetrievalCompletedEventArgs (paymentViewController, cardInfo)); }
/// <summary> /// Initializes a new instance of the <see cref="CardIOSDK.CardIORetrievalCompletedEventArgs"/> class. /// </summary> /// <param name="ViewController">The Card IO view controller that ultimately triggered the event.</param> /// <param name="CreditCardInfo">The retrieved credit card information.</param> public CardIORetrievalCompletedEventArgs(CardIOPaymentViewController ViewController, CardIOCreditCardInfo CreditCardInfo) : base(ViewController) { this.CreditCardInfo = CreditCardInfo; }