From ca504f7d2451939c4a9d817d4d2276561837d0af Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Tue, 30 May 2017 23:38:45 +0200 Subject: [PATCH] here, the merchant id was needed. --- Yavsc/Views/Shared/Components/PayPalButton/Default.cshtml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Yavsc/Views/Shared/Components/PayPalButton/Default.cshtml b/Yavsc/Views/Shared/Components/PayPalButton/Default.cshtml index 92f490fb..ae5a6d37 100644 --- a/Yavsc/Views/Shared/Components/PayPalButton/Default.cshtml +++ b/Yavsc/Views/Shared/Components/PayPalButton/Default.cshtml @@ -21,10 +21,10 @@ var CREATE_PAYMENT_URL = '@ViewBag.CreatePaymentUrl'; var EXECUTE_PAYMENT_URL = '@ViewBag.ExecutePaymentUrl'; var PAYPAL_ENV = '@PayPalSettings.Value.Mode'; -var APP_ID = '@PayPalSettings.Value.ApplicationId'; +var MERCH_ID = '@PayPalSettings.Value.'; -paypal.checkout.setup(APP_ID, { +paypal.checkout.setup(MERCH_ID, { environment: PAYPAL_ENV, container: '#paypalzone', click: function () {