void BeginPayment() { var merchantId = AppDelegate.APPLE_MERCHANT_ID; var paymentRequest = StripeClient.PaymentRequest(merchantId, new NSDecimalNumber("10"), "USD", "Premium Llama Food"); // Check if we can use apple pay if (StripeClient.CanSubmitPaymentRequest(paymentRequest)) { UIViewController paymentController; if (AppDelegate.STRIPE_ISTEST) { paymentController = StripeClient.TestPaymentController(paymentRequest, this); } else { paymentController = StripeClient.PaymentController(paymentRequest, this); } PresentViewController(paymentController, true, null); } else { // TODO: Non-Apple flow var avMsg = new UIAlertView("Todo: Apple Pay Not supported!", "You need to use a traditional method of collecting credit card information instead!", null, "OK"); avMsg.Show(); } }