Skip to content

Commit

Permalink
Cleans up ApplePay
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Rogers <[email protected]>
  • Loading branch information
chrissrogers committed Feb 14, 2018
1 parent 2e69bcd commit de61551
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/recurly/apple-pay.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,7 @@ class ApplePay extends Emitter {
*/
get lineItems () {
// Clone configured line items
const lineItems = [].concat(this.config.lineItems);
return lineItems;
return [].concat(this.config.lineItems);
}

/**
Expand Down Expand Up @@ -280,7 +279,6 @@ class ApplePay extends Emitter {
*/
onPaymentMethodSelected (event) {
debug('Payment method selected', event);
console.log(this.lineItems);
this.session.completePaymentMethodSelection(this.finalTotalLineItem, this.lineItems);
}

Expand Down

0 comments on commit de61551

Please sign in to comment.