Open andymckay-limited-access opened 9 years ago
cc'ing @bobsilverberg and @krupa
The dev database got reloaded yesterday which means the credentials for the tester app are no longer valid. We'll try to fix them up for you shortly.
@washort will make a test app with in-app payments for our test.
Thanks @krupa and @washort. Please let me know once it's ready and I'll update the tests to use it.
Thanks @washort ! It's almost there, the public_id
just needs to be set so that the functional tests can be fully configured with static values. Details: https://github.com/mozilla/zamboni/pull/3184/files#r34797890
Cool, I think this is ready now. @bobsilverberg can you try configuring your in-app payment test to use these credentials when making a payment? Ping me on IRC if you have questions. I haven't seen the test so I don't know exactly how it's configured.
KEY = 'fake data public ID'
SECRET = 'fake data secret key'
Summary on where we're at:
This should be ready to try again.
Thanks @washort. I tried again and got a different error this time: "SIM_ONLY_KEY". I mentioned this to @kumar303 in IRC.
I think I have a patch for that: https://github.com/mozilla/zamboni/pull/3186
Now we're stuck on:
Product cannot be purchased due to configuration error. NO_VALID_SELLER
This is because the fake data script is not configuring a seller for the app. This is what the fake data script needs to do:
Any progress on this @washort?
Our tests for in-app payments for marketplace on FxOS have not been running for some time. I am trying to resurrect them now, using the test app at https://github.com/kumar303/inapp-pay-test. I am getting as far as clicking the Pay button and then logging in with FxA, but after successfully logging in I get an error on the device: “Error - An unexpected error occurred. BAD_JWT_ISSUER”.
Those are running against the -dev server, let's see if we can get those working again.