samsung_pay_sdk_flutter 1.0.3 copy "samsung_pay_sdk_flutter: ^1.0.3" to clipboard
samsung_pay_sdk_flutter: ^1.0.3 copied to clipboard

PlatformAndroid

SamsungPay SDK depends on the official SDK from Samsung offers an easy way to implement samsung pay for android devices

Samsung Pay Flutter Plugin #

This plugin allows you to integrate Samsung Pay functionality into your Flutter applications, enabling secure and convenient in-app payments for your users on Samsung devices.

Note: This plugin serves as a wrapper around the official Samsung Pay Flutter SDK. For detailed information and comprehensive documentation on the available features and functionalities, please refer to the official Samsung Pay Flutter SDK documentation: Samsung Pay

Android Setup #

Go to android > app > src > main > AndroidManifest.xml and add the API level in the meta-data of application tag.

<meta-data 
    android:name="spay_sdk_api_level" 
    android:value="2.19" /> // most recent SDK version is recommended to leverage the latest APIs 
        

Setup SamsungPay Object #

define instance of SamsungPaySdkFlutter please consider to use your serviceId, the used one below is for test purpose only

final samsungPaySdkFlutterPlugin = SamsungPaySdkFlutter(
  PartnerInfo(
    serviceId: '0b89048b46b64cd3a3e60c',
    data: {SpaySdk.PARTNER_SERVICE_TYPE:ServiceType.INAPP_PAYMENT.name},
  ),
);

Contributing #

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License #

MIT

6
likes
150
points
66
downloads

Publisher

verified publisherbussines2code.com

Weekly Downloads

SamsungPay SDK depends on the official SDK from Samsung offers an easy way to implement samsung pay for android devices

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

dartdoc, flutter, plugin_platform_interface

More

Packages that depend on samsung_pay_sdk_flutter

Packages that implement samsung_pay_sdk_flutter