Last updated:
0 purchases
samsungpay
samsungpay #
DOCUMENTATION #
Build.Gradle -> app level #
android {
defaultConfig {
minSdkVersion 22
}
}
copied to clipboard
ANDROID MANIFEST: #
[ ] Add the following code in android manifest:
FIELDS NEED TO BE UPDATED:
DEBUG_MODE
SPAY_DEBUG_API_KEY
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"/>
copied to clipboard
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>
copied to clipboard
AVAILABLE CURRENCIES #
USD
INR
KRW
EUR
AUD
JPY
CNY
GBP
SGD
RUB
BRL
HKD
THB
CAD
MYR
CHF
SEK
TWD
AED
CHECK SAMSUNG PAY AVAILABLE #
final SamsungpayStatus sPayAvailable = await Samsungpay.isAvailable(spayServiceID);
copied to clipboard
PAY WITH SAMSUNG PAY #
String? data = (await Samsungpay.payNow(productAmount,taxAmount,shippingAmount,addedShippingAmount,addedBillingAmount,currency,merchantID,merchantName,orderNumber));
copied to clipboard
for more
for more support info mail to [email protected]
-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.** { *; }
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.