Platform wallet
The platform wallet is shared across games. Players top it up with real money and spend it anywhere on SusaPlay.Store catalogue
Spending
Success is true. Never grant optimistically.
Real-money purchases
Checkout is handled by the shell. Your game starts the flow and awaits the outcome — which payment provider takes the money is a platform setting, and your game never names one.PurchaseResult:
The purchase call waits up to three minutes — a player has to move through a real checkout. Show
a waiting state rather than blocking input.
Sandbox
Every purchase method takes asandbox flag, which requests the test lane:
WalletScope on the result
tells you which one you are looking at, so a test purchase is never mistaken for one that failed
to credit.
In-app purchases (iOS / Android)
Not supported. SusaPlay runs on WebGL, and the native store receipt-validation path has been removed. Every real-money purchase goes through the browser checkout described above.SDK 2.0 renamed the purchase API off the payment provider:
StartXsollaPurchase is now
StartPurchase and XsollaPurchaseResult is now PurchaseResult, with no deprecated aliases.
A game built against 1.x needs rebuilding against 2.0.