- From: Marcos Cáceres <notifications@github.com>
- Date: Thu, 24 Nov 2016 00:14:10 -0800
- To: w3c/browser-payment-api <browser-payment-api@noreply.github.com>
Received on Thursday, 24 November 2016 08:14:45 UTC
Basically, the missing piece is being able to "hydrate" a form with a payment request (or more generally with form data).
Ideally:
```JS
// if paymentResponse is or inherits from FormData
paymentForm.fillWith(paymentResponse);
//Then we end up in form nirvana
if( form.checkValidity() ) {
form.submit();
} else {
// fix form issues....
}
```
--
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/330#issuecomment-262714863
Received on Thursday, 24 November 2016 08:14:45 UTC