From de615512cb8422efbb83895fb175fca8f3a1b850 Mon Sep 17 00:00:00 2001 From: Christopher Rogers Date: Wed, 14 Feb 2018 10:15:43 -0800 Subject: [PATCH] Cleans up ApplePay Signed-off-by: Christopher Rogers --- lib/recurly/apple-pay.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/recurly/apple-pay.js b/lib/recurly/apple-pay.js index 06a785701..6091475f4 100644 --- a/lib/recurly/apple-pay.js +++ b/lib/recurly/apple-pay.js @@ -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); } /** @@ -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); }