Re: [w3c/payment-request] Extensibility of PaymentResponse.complete(result) (#817)

@adrianhopebailie, to keep things backwards compatible, we could add a second argument. 

```
.complete("success", {detail: {}})
```

That would keep things backwards compatible, but allow supporting new payment types.

WDYT? Would that work? 
 


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/payment-request/issues/817#issuecomment-455432227

Received on Friday, 18 January 2019 05:29:25 UTC