Testing Payments

How to test payments in games under development.

Testing payments in Pley Payments is easy and cost-free using sandbox mode and test cards in the Game Manager. This allows you to test purchases without real payment methods or filling out banking/tax forms until you're ready to publish.

Testing Payments

1) Launch a build (not release track) in the Pley Game Manager under builds.

2) Trigger a payment in-game.

3) Enter a sandbox test card (listed below). Look for Sandbox payment in the checkout modal.

4) Complete the payment.

Sandbox Testing Cards

Card TypeCard numberExp. dateCVV/CVC
Consumer Visa, Netherlands4111 1111 1111 11113/30737
Consumer Mastercard, Great Britain5555 4444 3333 11113/30737
ExpressPay Credit, China8171 9999 2766 000010/30737
Discover, US6011 6011 6011 66113/30737

Name & country can be anything; they don’t impact the test.

👍

Testing on Production/Release

Testing payments on release tracks (e.g., Production) requires real payment methods, not test cards.

Powered by Adyen. See more test cards in the Adyen testing documentation.

Response

Sandbox purchases mark entitlements with "in_sandbox": true in the JSON response for easy backend tracking:


  {
    "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.