Paypal Redirect URI problem

shobaky
Contributor
Contributor

I am trying to integrate paypal checkout button with my android app, i have followed the official guide but it doesn't seem to work, when i click the button, it logs in taking the permissions but then it gives me a page saying "Returning to (application name)" with no progress!!

 

This is the returning URI in my developer console 

   

   com.example.myapplication://paypalpay

 

This is the returning URI in my application code

  com.example.myapplication://paypalpay

 

The configuration code

 

val config = CheckoutConfig(
application = this,
clientId = YOUR_CLIENT_ID,
environment = Environment.SANDBOX,
returnUrl = "com.example.myapplication://paypalpay",
currencyCode = CurrencyCode.USD,
userAction = UserAction.PAY_NOW,
settingsConfig = SettingsConfig(
loggingEnabled = true
)
)
PayPalCheckout.setConfig(config)



 

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.