On Jan 23, 2013, at 7:01 PM, David Bialer <[email protected]> wrote:
>> 
>> successfully. The developer could then test their product delivery
>> mechanism without sending a real payment through. Since postbacks
>> receive a copy of the original JWT then the dev could detect if it
>> were a test via the simulate option.
>> 
> Perhaps this should have a button for each success and error condition as 
> well as a chargeback button.
> Buttons:
> * Simulate Success
> * Simulate Fail (App Unavailable)
> * Simulate Fail (Purchase cancelled)
> * ...
> * Simulate Chargeback

This is an interesting idea and could be added as an enhancement. My hesitation 
with it is that this functionality would need to be implemented in the mobile 
UI of the payment window. If instead we implement it in the JWT format of the 
payment request then it's baked into the API rather than baked into the server 
side implementation. Baking it into the JWT format makes 3rd party Web Payment 
Provider implementations more straight forward.

_

All the feedback on the thread (and on IRC) has been positive so I think we can 
move forward on implementing this. Thanks for the feedback. Naturally, we may 
discover issues with it as developers start using it. 

This feature will be tracked here: 
https://bugzilla.mozilla.org/show_bug.cgi?id=834410

-Kumar
_______________________________________________
dev-webapps mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-webapps

Reply via email to