Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
skckmdtk2's avatar
skckmdtk2
Honored Guest
3 years ago

I cannot create a test user to test the IAP. テストユーザーを作成してIAPのテストを行うことができません。

If we create a test user now, he/she will be in possession of a persistent item from the beginning.

Spoiler
Platform.IAP.GetViewerPurchases()

to compare SKUs and verify possession.
It is possible to test the payment flow using an account that is not a test user on the same device.
However, it is not possible to test a successful payment because the payment will always fail with a general account.
When not using a meta account, it was possible to create a test user and verify the payment flow.
How can I now test the payment using a test account?

 

現在テストユーザーを作成した場合、初めから永続アイテムを所持している状態になります。

Spoiler
Platform.IAP.GetViewerPurchases()

を使用し、SKUを比較すると確実に所持していることが確認されます。
同じデバイスのテストユーザーではないアカウントを使用して決済フローをテストする事は可能です。
しかし、一般のアカウントは決済は常に失敗する為、決済が正常に行われた場合のテストはできません。Metaアカウントを使用していない時はテストユーザーを作成し、決済フローをチェックする事が出来ました。
現在でテストアカウントを使用して決済のテストを行う方法を教えてください。

1 Reply

  • I tested again today and was able to test the checkout flow without any problems.
    However, there is another problem and this time I cannot register the credits for the test.
    When will it be possible to test the DLC?

     

    本日再度テストしてみたところ、問題なくチェックアウトフローをテストすることができました。
    しかし、別の問題があり今度はテスト用のクレジットを登録する事が出来ません。
    DLCのテストはいつになったら可能になるのでしょうか?