Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check your returnUrl! It should contain your app's package name appended with "://paypalpay". #227

Open
EmedStoreIT opened this issue Apr 4, 2023 · 1 comment
Labels

Comments

@EmedStoreIT
Copy link

EmedStoreIT commented Apr 4, 2023

Error: java.lang.IllegalArgumentException: Check your returnUrl! It should contain your app's package name appended with "://paypalpay".

I am using com.paypal.checkout:android-sdk:0.8.8

This error occurs every time in the portion of the setting Paypal configuration.

Return URL in code:
return_url_in_code

Return URL in Paypal console:
return_url_in_paypal_console

@chpypl
Copy link
Collaborator

chpypl commented Apr 19, 2023

If your application ID contains underscores then you need to modify the returnUrl so that it forms a valid URI. For details, see the docs regarding Customize return URL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants