Mobile SDKs

Flutter SDK

9min

Overview

Easily accept payments through Apple Pay or Credit Card (with managed 3DS step) in your Flutter app with Moyasar.

Features

Use this plugin to support:

  • Apple Pay: Quickly and safely accept Apple Pay payments.
  • Credit Card: Easily accept many card companies while not worrying about managing the required 3DS step.

Getting Started

Prerequisites

Accepting Apple Pay Payments on iOS

Complete the following steps to easily accept Apple Pay payments:

Accepting Credit Card Payments on Android

Due to depending on the flutter_webview package to manage the 3DS step, make sure to set the correct minSdkVersion in android/app/build.gradle if it was previously lower than 21:

Gradle


Installation

Shell
Text


Usage

JS


Migration Guides

From 1.0 to 2.0

This upgrade changes how Apple Pay is configured. Do the following changes to complete the upgrade:

  • Delete the default_payment_profile_apple_pay.json file under your assets file.
  • Update the paymentConfig instance to include the new applePay configuration.
Dart




Updated 01 Sep 2024
Did this page help you?