On Jan 23, 2013, at 6:54 PM, Andy McKay <[email protected]> wrote:

> 
> On 2013-01-23, at 12:40 PM, Kumar McMillan <[email protected]> wrote:
> 
>> Hi all.
>> We're rapidly approaching the day when third party app developers can begin 
>> testing web payments using navigator.mozPay() [1] against Mozilla's Web 
>> Payment Provider [2]. I'd like to get some feedback on ideas for how 
>> developers can *test* their use of the API.
>> 
>> [1] https://wiki.mozilla.org/WebAPI/WebPayment
>> [2] https://wiki.mozilla.org/WebAPI/WebPaymentProvider
> 
> We've got to make a plan to reenable and get started on the MDN docs too.

Yep. We have been iterating on the API a lot but the dust is beginning to 
settle. We are tracking docs in 
https://bugzilla.mozilla.org/show_bug.cgi?id=776678 

>> 
>> Note that these success/error handlers on the client are not as useful as 
>> the server side postback/chargeback handlers. The former is more for UI 
>> errors like the user clicking the Cancel button. In order to fulfill 
>> payment, the developer must use a postback handler so she can verify the JWT 
>> signature.
> 
> We should be write a simple example server that does copes with 
> postback/chargeback handlers.

Agreed. We could also provide server libs to offer drop-in solutions. This was 
my idea behind http://moz_inapp_pay.readthedocs.org/en/latest/


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

Reply via email to