From 581a6d470c7a36536c6758ad219de04712291aeb Mon Sep 17 00:00:00 2001 From: Drew Blaisdell Date: Mon, 6 Mar 2017 12:21:35 -0800 Subject: [PATCH] Checkout: Provide `displayPrice` to `fetchReceiptCompleted` action --- client/my-sites/upgrades/checkout/checkout.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/my-sites/upgrades/checkout/checkout.jsx b/client/my-sites/upgrades/checkout/checkout.jsx index 8bc8e423a433bf..52c092c37145ca 100644 --- a/client/my-sites/upgrades/checkout/checkout.jsx +++ b/client/my-sites/upgrades/checkout/checkout.jsx @@ -282,10 +282,12 @@ const Checkout = React.createClass( { } if ( receipt && receipt.receipt_id ) { - const receiptId = receipt.receipt_id; + const receiptId = receipt.receipt_id, + displayPrice = receipt.display_price; this.props.fetchReceiptCompleted( receiptId, { receiptId, + displayPrice, purchases: this.flattenPurchases( this.props.transaction.step.data.purchases ), failedPurchases: this.flattenPurchases( this.props.transaction.step.data.failed_purchases ), } );