Skip to content

Commit

Permalink
Checkout: Provide raw receipt object to fetchReceiptCompleted action
Browse files Browse the repository at this point in the history
  • Loading branch information
drewblaisdell committed Mar 7, 2017
1 parent 1de5e4c commit 52cd24b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/my-sites/upgrades/checkout/checkout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -285,9 +285,9 @@ const Checkout = React.createClass( {
const receiptId = receipt.receipt_id;

this.props.fetchReceiptCompleted( receiptId, {
receiptId,
...receipt,
purchases: this.flattenPurchases( this.props.transaction.step.data.purchases ),
failedPurchases: this.flattenPurchases( this.props.transaction.step.data.failed_purchases ),
failedPurchases: this.flattenPurchases( this.props.transaction.step.data.failed_purchases )
} );
}

Expand Down

0 comments on commit 52cd24b

Please sign in to comment.