Paypal Redirect URI problem
shobaky
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Jul-06-2022
02:09 AM
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)
0 REPLIES 0
![](/skins/images/EF9777C673B5836FB6B54CBD15DB32F5/responsive_peak/images/icon_anonymous_message.png)
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
Related Content
- Unable to capture payment for order with error 'INVALID_RESOURCE_ID' in Sandbox Environment
- Paypal links and buttons dont show payments options in PayPal Payments Standard
- Android WebViews issue when doing seller onboarding in REST APIs
- How to get the merchant-id or how do i get the id that connects my user to get paid via Paypal in REST APIs
- Unauthorized error when use multiparty APIs in Sandbox Environment