FAQ & Troubleshooting
For debug
- Verify that
debug_mode
is set asY
in your Android Manifest.- Verify that your
spay_debug_api_key
is valid in Android Manifest. Go to the Samsung Pay Developers portal, sign in, and open your service details to check/retrieve the correct debug API key.- Verify that your
spay_debug_api_key
has not expired.- Verify that the
serviceId
is correct; make sure it was generated for the test mode and not for release.- Verify that the
serviceType
is correct; make sure it is same as the value assigned by the Samsung Pay Developers portal when you create the service.- Verify that the device’s Samsung Account is registered (allowed) under TEST ACCOUNTS in the service details.
For release
- Verify that
debug_mode
is set asN
in your Android Manifest.- Verify that
spay_debug_api_key
is not defined in your Android Manifest (it must be an empty string or "").- Verify that the
serviceId
is correct; make sure it was generated for release and not for the test mode.- Verify that the
serviceType
is correct; make sure it is same as the value assigned by the Samsung Pay Developers portal when you create the service.- Ask your Samsung Pay
Relationship Manager (RM)
to confirm that the status of your service isApproved
.
The most common reason for returning an empty card list is a mismatch between the issuer name registered on the Samsung Pay Developers portal and the actual issuer name for the card.
If you cannot confirm the actual issuer name of the card, just enroll the card with SamsungPay and see its detail information. Below is a sample screen shot of the test card, withthe issuer name
highlighted in yellow
If your app’s target API level is set to 30 or higher, refer to
Setting up your SDK development environmen part
and follow guide for Android R OS(targetSdkVersion 30).