Hi there,
Bill Maggs and I wanted to capture requirements for a developer to be able to 
test in app payments using a payment sandbox.  This is based on some of the 
thinking that Kumar and others have done on using the 'simulate' parameter in a 
JWT to test, but isn't that specific to the method of testing. 

Please review these user stories.


1. As a developer, I want to simulate an In App Purchase (IAP) process in any 
region of the world supported by FF Marketplace.  P1
2. As a developer, I want to be able to generate a secret key for a JWT to test 
my IAP.  P1
3. As a developer, I want to display the correct amount and currency unit for 
IAP for the region and price tier I have chosen. P1
4. As a developer, I want to simulate IAP on a production serverd. P1
        (child) As a developer, I want to be able receive simulate a successful 
payment a with postbacks that show the success condition. 
        (child) As a developer, I want to be able to simulate an unsuccessful 
payment with error conditions (i.e. Item unavailable, Payment denied (reason), 
Payment Cancelled, etc)
        (child) As a developer, I want to receive simulate chargebacks with all 
possible error conditions. 
5. As a developer who wants to implement their own IAP (not FFX),  I would like 
clear instructions for me and my payment provider to test an alternative 
moz.pay implementation in my own sandbox by using our WebPayment API. P1

6. As a developer, I want a tool to check that my payment JWT is formatted 
correctly. P2
7. As a developer, who wants to use FF Marketplace Payments for IAP, I want to 
be able to test IAP on my app without a lengthy registration process on Bango 
or having to set up a bank account. P2
8. As a developer, I want to be able to simulate IAP in FF OS Simulator by 
setting my location or other changing other regional settings. P2
9. As a developer, I want to be able to be able determine the correct amount 
and currency (symbol) to display on my "Buy" button, given a price tier, based 
on the location of the device. P1

Thanks for your time in reviewing this,
David
_______________________________________________
dev-webapps mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-webapps

Reply via email to