samsungpay 0.0.5 icon indicating copy to clipboard operation
samsungpay: ^0.0.5 copied to clipboard

PlatformAndroid

you can call the native code in android to load samsung in-app payment gateway.

samsungpay #


DOCUMENTATION #



Build.Gradle -> app level #

android {
  defaultConfig {
    minSdkVersion 22
  }
}

ANDROID MANIFEST: #


[ ] Add the following code in android manifest:

FIELDS NEED TO BE UPDATED:

  1. DEBUG_MODE
  2. SPAY_DEBUG_API_KEY
  3. SPAY_SDK_API_LEVEL
  <queries>
        <package android:name="com.samsung.android.spay" />
        <package android:name="com.samsung.android.samsungpay.gear" />
    </queries>

// For Testing/QA
   <meta-data
            android:name="debug_mode"
            android:value="Y" /> //Y-Debug N-production
    <meta-data
                android:name="spay_debug_api_key"
                android:value="[add your debug key here]"/>
        <meta-data
                android:name="spay_sdk_api_level"
                android:value="2.17"/>
                
// For Production 

   <meta-data
            android:name="debug_mode"
            android:value="N" /> 
    <meta-data
            android:name="spay_sdk_api_level"
            android:value="2.17"/>

Strings.xml: #

These fields are optionals

<string name="amount_control_name_item">Item</string>
<string name="amount_control_name_tax">Tax</string>
<string name="amount_control_name_shipping">Shipping</string>


AVAILABLE CURRENCIES #


  1. USD
  2. INR
  3. KRW
  4. EUR
  5. AUD
  6. JPY
  7. CNY
  8. GBP
  9. SGD
  10. RUB
  11. BRL
  12. HKD
  13. THB
  14. CAD
  15. MYR
  16. CHF
  17. SEK
  18. TWD
  19. AED

CHECK SAMSUNG PAY AVAILABLE #


final SamsungpayStatus sPayAvailable = await Samsungpay.isAvailable(spayServiceID);

PAY WITH SAMSUNG PAY #


String? data = (await Samsungpay.payNow(productAmount,taxAmount,shippingAmount,addedShippingAmount,addedBillingAmount,currency,merchantID,merchantName,orderNumber));

for more click here

for more support info mail to info@mvp-apps.com

-keep class io.flutter.app.** { *; }
-keep class io.flutter.plugin.**  { *; }
-keep class io.flutter.util.**  { *; }
-keep class io.flutter.view.**  { *; }
-keep class io.flutter.**  { *; }
-keep class io.flutter.plugins.**  { *; }



-dontwarn com.samsung.android.sdk.samsungpay.**
-keep class com.samsung.android.sdk.** { *; }
-keep interface com.samsung.android.sdk.** { *; }

6
likes
120
pub points
54%
popularity

Publisher

unverified uploader

you can call the native code in android to load samsung in-app payment gateway.

Homepage

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on samsungpay