When we access the recharge platform of 91, we have our own business servers. Therefore, there are two ways to access the recharge platform of 91:
Method 1: coin recharge
Method 2: Use 91 beans directly instead of your tokens
Advantages and disadvantages of method 1 coin recharge:
Advantage: 1.1 Use your own currency to facilitate control. When you recharge your account, you only need to recharge your account. You can use the currency internally.
Convert to various items, and easy code compatibility with various platforms
1.2 after the recharge is completed, the 91 server will post the Service server address configured in the background.
Disadvantage: 1.1 Add a token, and you need to add a token to redeem your items.
Advantages and disadvantages of using 91 beans for payment in Method 2:
Advantage: 1.1 no tokens are required, saving the intermediate exchange process steps. You can directly purchase various items.
Disadvantage: 1.1 virtual mall must be used, similar to IAP, but more complex than IAP. At the beginning, you must configure the corresponding
The program first obtains the list of items that can be sold, and then uses the 91 API NDGetUserProduct and
NDGetUserProductsList gets the item owned by the current user. This item must be saved on the 91 server and cannot be saved on the server. When you consume items, you must notify the 91 server to delete them. Therefore, this process must be handled by the original logical division, which is very troublesome.
1.2 after the purchase is successful, the system no longer returns whether the purchase is successful. You need to go to the 91 server to query the status and quantity of related items.