bugfix: correct typo in sandbox url var
This commit is contained in:
parent
7803b052e5
commit
7466e8a28e
|
@ -24,7 +24,7 @@ PayPal.init = function (client_id, client_secret, env, opts) {
|
||||||
if ("live" === env) {
|
if ("live" === env) {
|
||||||
PayPal.__baseUrl = PayPal.__liveApiBaseUrl;
|
PayPal.__baseUrl = PayPal.__liveApiBaseUrl;
|
||||||
} else {
|
} else {
|
||||||
PayPal.__baseUrl = PayPal.__sandboxUrl;
|
PayPal.__baseUrl = PayPal.__sandboxApiBaseUrl;
|
||||||
console.debug("[PayPal Checkout] ENVIRONMENT=sandbox");
|
console.debug("[PayPal Checkout] ENVIRONMENT=sandbox");
|
||||||
}
|
}
|
||||||
PayPal.__id = client_id;
|
PayPal.__id = client_id;
|
||||||
|
|
Loading…
Reference in New Issue