Rob, I came across this sample code on this link https://github.com/GremlinInteractive/plugins_sample_paypal/commits/master.
However, Paypal only gives you an App ID and a secret. Would you know where to get the configuration parameters under the sandbox and user at the end of this code below. Not sure if this app is written for Rest API or Classic API?
paypal.config { productionClientID = "Paypal Client ID", sandboxClientID = "same as above I assume", acceptCreditCards = true, --true/false (optional) -- default false language = "en", --The users language/locale -- If omitted paypal will show it's views in accordance with the device's current language setting. merchant = { name = "Golf", -- (required) -- The name of the merchant/company privacyPolicyURL = "http://www.gremlininteractive.com", -- (optional) -- The merchants privacy policy url -- default is paypals privacy policy url userAgreementURL = "http://www.gremlininteractive.com", -- (optional) -- The user agreement URL -- default is paypals user agreement url }, rememberUser = false, environment = "sandbox", -- Valid values: "sandbox", "noNetwork", "production" -- Uncomment the below lines and fill in with your details, if required. sandbox = { useDefaults = true, password = "12345678", pin = "Your\_Sandbox\_Pin", }, user = { email = "?", phoneNumber = "?", phoneCountryCode = "?", }, }