Testing payments
Learn more about how you can test in-game purchases in the Game Manager's sandbox mode before you go live.
To allow you to test your integration with PaymentsKit without spending actual money, payments made within the Game Manager are sandboxed. The test card numbers provided below allow you to make purchases while testing without actually paying any money yourself. This means that you do not need to submit your banking-/tax-information until you're actually ready to publish your game.
Any entitlements created by a purchase made in sandbox mode will be labeled as "in_sandbox", so it's easy for you to identify them in your backend.
[
{
"entitlement_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"product_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"in_sandbox": true
},
...
]
Keeping track of payments
Currently, there is no way to keep track of payments made in sandbox mode other than retrieving the entitlements from the API. At the moment, you are not able to view the transactions in the Game Manager, and they will not be part of the Sales reports.
Test card numbers
When testing payments in sandbox mode, you can use one of the test credit cards below. The card numbers should work with any expiry date set in the future and any 3-digit CVV/CVC code.
Card number | Exp. date | CVV/CVC | Result |
---|---|---|---|
4242 4242 4242 4242 | Any date in the future | 123 | Success |
4917 4845 8989 7107 | 01/23 | 123 | Failure |
5200000000000007 | 01/<current year + 3> | 123 | 3D-Secure Success |
5200000000000023 | 01/<current year + 3> | 123 | 3D-Secure Failure |
Updated 4 months ago