flutter_applepay_sdk 0.0.2

SDKflutter
Platformios

This is Wallet SDK for Apple Pay. It is a Flutter plugin that provides functionality to integrate Apple Pay into Flutter applications. Powered by Bonum.

flutter_applepay_sdk

A new Flutter plugin project.

Getting Started

install the package

import the package 
import 'package:flutter_applepay_sdk/flutter_applepay_sdk.dart';

flutter_applepay_sdk

Future _addPaymentPass() async { final cardDetails = { 'cardholderName': 'card holder name', 'primaryAccountSuffix': 'last 4 number of the card', 'primaryAccountIdentifier': 'to check if the current device connected with card', 'paymentNetwork': 'type of the card example : masterCard, visa ', };

final networkDetails = {
  'url': 'your request url',
  'method': '',
  'header': [
    "Content-Type: application/json",
    "Authorization:"
  ],
  'body': jsonEncode({
    'data': "ecrypted data",
    'holderName': " name of the card",
    'phoneNumber': "phone number "
  }),
};