android-checkout-sdk icon indicating copy to clipboard operation
android-checkout-sdk copied to clipboard

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

Open EmedStoreIT opened this issue 1 year ago • 1 comments

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

EmedStoreIT avatar Apr 04 '23 10:04 EmedStoreIT

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.

chpypl avatar Apr 19 '23 21:04 chpypl