- From: Rouslan Solomakhin <notifications@github.com>
- Date: Mon, 21 Dec 2015 11:26:33 -0800
- To: w3c/webpayments <webpayments@noreply.github.com>
Received on Monday, 21 December 2015 19:27:09 UTC
Apps should communicate through an OS-level mechanism, so that linking of interface DLLs or JARs is not required. This requires specifying an interface. For android, the interface could look like this: - Intent name: "org.w3.intent.action.PAY". - Intent URL: One of the supported instruments. - "Details" key maps to the "details" object from the payment request. - "SchemeData" key maps to the "schemeData" object for this payment app from the payment request. - The response should have "InstrumentDetails" key that maps to the payment instrument object for merchant. Android native apps communicate over intents in Java. Other operating systems will use other languages and communication channels. I imagine that apps on iOS would use Objective C. There should be a JavaScript API for payment web-apps, too. --- Reply to this email directly or view it on GitHub: https://github.com/w3c/webpayments/issues/42#issuecomment-166396480
Received on Monday, 21 December 2015 19:27:09 UTC