- From: ianbjacobs <notifications@github.com>
- Date: Tue, 03 Sep 2019 14:53:47 -0700
- To: w3c/payment-request <payment-request@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 3 September 2019 21:54:09 UTC
Hi all, @rsolomakhin passed on this use case today, so recording it here. Google Play Store requires the merchant to creates SKUs and specify SKUs instead of amounts during the payment flow. There's also a feature to request the price of the SKUs before payment, so that merchant can display the price in their app. Can we add this feature to Payment Request API in the next version? Sample code: <code> const request = new PaymentRequest([{supportedMethods: 'https://play.google.com/store'}], {total: {sku: '1234567890'}}); const details = await request.getDetailsFromSku(); showAmounts(details); const response = await request.show(); </code> -- 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/payment-request/issues/879
Received on Tuesday, 3 September 2019 21:54:09 UTC