Is there a fake or debug credit card for testing IAPs?

Hi,

I am currently testing the sample IAP Android program bundled with the SDK. When I try to make a purchase in Test Mode, the Samsung Checkout pop up appears with a “Sandbox” label on it, but it otherwise asks me to Select a Payment method (either “Credit Card” or “Paypal”).

Is there a fake / debug credit card number I can use? Or is there a developer setting on the device that needs to be enabled?

Thanks

Hi cchong,

Welcome to the Samsung Developer forum!

Regarding testing Samsung IAP, there are two ways you can test without incurring charges:

  1. IAP operating mode is set to OPERATION_MODE_TEST
    • If the app is sideloaded, licensed testers are not charged when they purchase an in-app item and unlicensed testers cannot complete the purchase
    • If the app is installed using the Seller Portal closed beta URL, licensed testers are not charged when they purchase an in-app item but unlicensed testers are charged

  2. IAP operating mode is set to OPERATION_MODE_PRODUCTION and you are conducting a Seller Portal closed beta,
    • If the app is sideloaded, the purchase cannot be completed
    • If the app is installed using the Seller Portal closed beta URL, licensed testers are not charged when they purchase an in-app item but unlicensed testers are charged

The bottom line is that, in order to test IAP product purchases without being charged (when the Samsung Checkout pop up appears with the “Sandbox” label on it), you need to be a licensed tester.

Licensed testers must have a Samsung account and they can be added from either your Seller Portal account profile or in the Binary tab of the Closed Beta Test app.

Thanks very much, that clears things up.