i'm using the cordova plugin for http://www.nikola-breznjak.com/blog/javascript/ionic/add-paypal-ionic-1-apps/ in app in this code : .constant('APP_CONSTS', { payPalSandboxId: 'Bfiudw1_kauwqxV8vqsPXyWv-6rbudyhnwbKd2Qhb57Rdwoj0NLT8dOGwOYug5g-vHL28aqVWLMkErdVop', payPalProductionId: '', payPalEnv: 'PayPalEnvironmentSandbox', // for testing: PayPalEnvironmentSandbox, for productionpayPalEnv payPalShopName: 'Demo Shop', payPalMerchantPrivacyPolicyURL: 'https://www.demoshop.com/privacy', payPalMerchantUserAgreementURL: 'https://www.demoshop.com/terms' }) when i change the payPalProductionId with live paypal credense , and payPalEnv to payPalEnv then it gives me error, in sandbox mode , it will did the login and payment, but when changes it to live paypal, it not did the login gives me error "we are sorry, there was a problem setting up this payment -accountneeds a valid funding source, such as a bank or payment card. please visit the paypal website to check your account".
... View more