From 7466e8a28eee6a3fe0c8addfb98b3f952c758e9e Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sun, 17 Oct 2021 00:50:54 -0600 Subject: [PATCH] bugfix: correct typo in sandbox url var --- paypal-checkout.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paypal-checkout.js b/paypal-checkout.js index 1a37af2..d28d858 100644 --- a/paypal-checkout.js +++ b/paypal-checkout.js @@ -24,7 +24,7 @@ PayPal.init = function (client_id, client_secret, env, opts) { if ("live" === env) { PayPal.__baseUrl = PayPal.__liveApiBaseUrl; } else { - PayPal.__baseUrl = PayPal.__sandboxUrl; + PayPal.__baseUrl = PayPal.__sandboxApiBaseUrl; console.debug("[PayPal Checkout] ENVIRONMENT=sandbox"); } PayPal.__id = client_id;