- From: ianbjacobs <notifications@github.com>
- Date: Mon, 30 Jul 2018 06:17:20 -0700
- To: w3c/payment-request <payment-request@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 30 July 2018 13:17:45 UTC
Hi @rsolomakhin, good question. Would this work: * The payment handler returns billing address information in the Payment Handler API response. * Upon receipt the browser fires "onbillingaddresschange" which enables the merchant to update the total. If the payment handler does not return a billing address (e.g., because the payment method does not require it, or the transaction does not require it, or the user has not provided one), no event fires. * If the billing address has an impact on the total, then the merchant can update it in the sheet, prompting the user to confirm (with a message indicating that the total has changed based on the billing address). If the billing address does not have an impact on the total, then the merchant can simply close the sheet at that point. Does that make sense? Ian -- 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/27#issuecomment-408859534
Received on Monday, 30 July 2018 13:17:45 UTC