Testing Payments
How to test payments in games under development.
To allow you to test payments without spending real money we are hosting payments in sandbox mode in the Game Manager. This means that you can use any of the test credit cards to make a cost-free purchase and that you don't need to fill out the banking-/tax-information form until you want to publish your game.
When playing in the Game Manager (builds page), all payments will be in sandbox mode. This means that 'real' payments doesn't work. However, you can use the testing cards to test the payment flow and experience of your game.
Testing Payments
1) Start a build through the Pley Game Manager, under builds.
2) Trigger a payment in the game.
3) Input a sandbox test card (found below). Note that the checkout modal will be marked Sandbox payment
4) Execute the payment.

Sandbox Testing Cards
Card Type | Card number | Exp. date | CVV/CVC |
---|---|---|---|
Consumer Visa, Netherlands | 4111 1111 1111 1111 | 3/30 | 737 |
Consumer Mastercard, Great Britain | 5555 4444 3333 1111 | 3/30 | 737 |
ExpressPay Credit, China | 8171 9999 2766 0000 | 10/30 | 737 |
Discover, US | 6011 6011 6011 6611 | 3/30 | 737 |
Name & country can be set to anything, and will not affect the test purchase.
Testing on Production/Release
To test payments on builds released to a release track (e.g. Production), an actual payment has to be made with a real payment method.
Testing payments on released builds (on any release track, including production) cannot be done with testing cards.
Pley Payments is powered by Adyen. Read more about testing cards in the Adyen testing documentation.
Response
Any entitlements created by a purchase made in sandbox mode will be labeled as "in_sandbox", so it's easy for you to identify an entitlements origin in your backend.
In the JSON response, "in_sandbox" will be marked true
.
[
{
"entitlement_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"product_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"in_sandbox": true
},
...
]
Keeping track of payments
Sandboxed transactions from in the Game Manager isn't tracked and they will not be part of the Sales reports.
Making test-payments will not affect any data or reporting.
Updated about 12 hours ago