Track order status
After a user made a purchase, your application can perform the following actions:
- show the order status in the application UI
- credit a user’s balance after a successful payment
- grant the purchased items after a successful payment
To implement the logic of these actions, track the order status by a timer or when certain events occur (e.g., when redirecting the user to the application from the payment UI).
To get the current payment status, use the
CheckOrderStatus
SDK method. Pass the order ID received from the purchase via the shopping cart, one-click purchase, or purchase for virtual currency as the parameter.Note
You can also implement webhook handling on the server side of your application for Xsolla transaction events.
Was this article helpful?
Thank you for your feedback!
We’ll review your message and use it to help us improve your experience.Rate this page
Rate this page
Don’t want to answer
Thank you for your feedback!
Useful links
Last updated:
September 6, 2022
Found a typo or other text error? Select the text and press Ctrl+Enter.