w3c / payment-handler

Payment Handler API
https://w3c.github.io/payment-handler/
Other
74 stars 42 forks source link

InstrumentKey availability #391

Closed apouillard closed 3 years ago

apouillard commented 3 years ago

The last pusblished version of Payment Handler API specification describes instrumentKey as an attribute of the PaymentRequestEvent.

The specification also mentions that InstrumentKey can be set to an empty string meaning that the user did not choose a specific PaymentInstrument :

Any help/clarification would be appreciate

rsolomakhin commented 3 years ago

Hi @apouillard . We decided against instrumentKey in the end. That text needs to be removed from the spec. Pull requests are welcome 😀

ianbjacobs commented 3 years ago

@rsolomakhin, I'm happy to do a pull request. Just to check on what would need to change:

Anything else? Ian

rsolomakhin commented 3 years ago

@ianbjacobs for now let's start with only removing PaymentRequestEvent.instrumentKey from https://w3c.github.io/payment-handler/#the-paymentrequestevent.

Let's leave section 3.3 intact until we've given it some more thought, sound OK?