Test payment process
After successfully configuring the library, test the payment process.
Payments are available only in sandbox mode until you sign the licensing agreement with Xsolla. In this mode, you can use test bank cards to simulate a successful or declined payment process.
To see transactions made in sandbox mode:
- Open your Publisher Account.
- Go to Accounting > Transaction registry.
- Check the Show test transactions box.
After signing the licensing agreement with Xsolla, you can continue to use sandbox mode or change the project settings and start accepting real payments.
Test the payment process by making real payments:
- Make sure that you have signed a contract with Xsolla.
- When calling the
createOrder
SDK method, passfalse
for theisSandbox
parameter. - When creating the
PaystationWebView.Configuration
, pass theisSandbox
parameter with thefalse
value.
Notice
After the first real payment is made, a strict sandbox payment policy takes effect. Payments made in sandbox mode are available only to users who are specified in Publisher Account in the Company settings > Users section.
Was this article helpful?
Thank you for your feedback!
We’ll review your message and use it to help us improve your experience.Useful links
Last updated: January 22, 2024Found a typo or other text error? Select the text and press Ctrl+Enter.