From 49960c0e327c72c29c230205500c0b18507bb663 Mon Sep 17 00:00:00 2001 From: Matteo Pagliazzi Date: Wed, 12 Oct 2016 18:44:06 +0200 Subject: [PATCH] amazon: fix cancelling subscription --- website/server/libs/amazonPayments.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/website/server/libs/amazonPayments.js b/website/server/libs/amazonPayments.js index 5f3ee33707..2a4b57652b 100644 --- a/website/server/libs/amazonPayments.js +++ b/website/server/libs/amazonPayments.js @@ -25,6 +25,7 @@ let setOrderReferenceDetails = Bluebird.promisify(amzPayment.offAmazonPayments.s let confirmOrderReference = Bluebird.promisify(amzPayment.offAmazonPayments.confirmOrderReference, {context: amzPayment.offAmazonPayments}); let closeOrderReference = Bluebird.promisify(amzPayment.offAmazonPayments.closeOrderReference, {context: amzPayment.offAmazonPayments}); let setBillingAgreementDetails = Bluebird.promisify(amzPayment.offAmazonPayments.setBillingAgreementDetails, {context: amzPayment.offAmazonPayments}); +let getBillingAgreementDetails = Bluebird.promisify(amzPayment.offAmazonPayments.getBillingAgreementDetails, {context: amzPayment.offAmazonPayments}); let confirmBillingAgreement = Bluebird.promisify(amzPayment.offAmazonPayments.confirmBillingAgreement, {context: amzPayment.offAmazonPayments}); let closeBillingAgreement = Bluebird.promisify(amzPayment.offAmazonPayments.closeBillingAgreement, {context: amzPayment.offAmazonPayments}); @@ -56,6 +57,7 @@ module.exports = { closeOrderReference, confirmBillingAgreement, setBillingAgreementDetails, + getBillingAgreementDetails, closeBillingAgreement, authorizeOnBillingAgreement, authorize,