Re: [w3c/browser-payment-api] The "data" member of PaymentMethodData doesn't seem to actually be used for anything (#338)

Hmm, OK, that makes sense! So I think the flow in terms of algorithms is that this spec should call into the payment method specs, which can then delegate to whatever payment app is currently registered to handle that payment method.

And I guess that, per the discussions in https://github.com/w3c/browser-payment-api/issues/307#issuecomment-267145043, the payment method spec is responsible for some preprocessing before it hands off the data to the payment app. E.g. basic-card will parse the data string into a BasicCardRequest dictionary.

-- 
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/338#issuecomment-267155544

Received on Wednesday, 14 December 2016 21:02:36 UTC