Testing
After integrating the Wallet section, you can explore its features while testing the purchase process via API or payment UI. The following testing options are available:
- You can use API methods to test adding and deducting virtual currency:
- Create a test account in the Metaframe widget.
- Use the Top up the user’s balance method to replenish virtual currency.
- Use the methods in the Charges subsection to deduct currency.
- You can test the process of purchasing a virtual currency package using the testing environment. For payments, use the test cards.
- You can test the process of purchasing a virtual currency package using the testing project in Publisher Account. To do this:
- In the Publisher Account, create a separate project for testing purposes. When creating the project, mark it as a test project.
- During the basic setup of Metaframe, inform the integration team that the project is intended for testing.
- When setting up webhooks, specify URL:
https://demo-orbs-api.babka.com/v2/multicurrency-webhook
. - In the Metaframe Virtual Currencies API methods, use the URL
https://demo-orbs-api.babka.com/v2
instead ofhttps://orbs.babka.com/v2
.
Was this article helpful?
Thank you for your feedback!
We’ll review your message and use it to help us improve your experience.Found a typo or other text error? Select the text and press Ctrl+Enter.