paypal / android-checkout-sdk

Apache License 2.0
77 stars 38 forks source link

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

Open EmedStoreIT opened 1 year ago

EmedStoreIT commented 1 year ago

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 commented 1 year ago

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.