I had a similar issue, after chatting with support. You need to have published the Payments app before you can perform the testing.
See the requirements here: https://shopify.dev/apps/payments/testing-a-payments-app#install-your-payments-app-on-a-development-store
- You have an approved and published configuration version.