Re: [w3c/browser-payment-api] complete() should take a string argument not boolean (#17)

@jnormore as per the spec, the complete() method must "Pass the value of success to the Payment App that accepted the payment request."

This suggest the payment app can act on that data and therefore this method is not just to dismiss the dialogue. This information could allow something as simple as displaying the appropriate message to the user, e.g. "Your payment has been authorised and your account will be debited within the next 24 hours" vs "Your payment has been authorised and your account will be debited once the good have shipped"


---
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/browser-payment-api/issues/17#issuecomment-204088126

Received on Thursday, 31 March 2016 19:25:32 UTC