Not getting refresh_token when authenticating with paypal API
Node.js Using paypal sandbox env const PAYPAL_BASE_URL = "https://api.sandbox.paypal.com"; const PAYPAL_TOKEN_URL = `${PAYPAL_BASE_URL}/v1/oauth2/token`; const tokenOptions = { method: "post", headers: { "Content-Type": "application/x-www-form-urlencoded", "Access-Control-Allow-Credentials": true, }, data: qs.stringify({ grant_type: "client_credentials" }), auth: { username: `${CLIENT_ID}`, password: `${CLIENT_SECRET}`, }, url: `${PAYPAL_TOKEN_URL}`,…