Skip to content
This repository has been archived by the owner on May 5, 2020. It is now read-only.

redirect_urls field error #110

Closed
ghost opened this issue Mar 11, 2014 · 6 comments
Closed

redirect_urls field error #110

ghost opened this issue Mar 11, 2014 · 6 comments

Comments

@ghost
Copy link

ghost commented Mar 11, 2014

Hi all.
My app PayPal SDK have been updated to 2.0.1. I changed my code as showed in SampleApp, but after payment I received this error:

2014-03-11 14:37:47.763 fl3ur[27228:70b] PayPal SDK: Request has failed with error: VALIDATION_ERROR - The payment information is invalid. Please correct and submit again. (400) | PayPal Debug-ID: c0f5a95f657b4 | Details: (
        {
        field = "redirect_urls";
        issue = "This field required when payment_method is 'paypal'";
    }
).

But "Redirect URL" exist in "My apps" section of developer.paypal.com account. Why this error is appear?
Regards,
Igal.

@romk1n
Copy link
Contributor

romk1n commented Mar 11, 2014

@fl3ur can you confirm if you have created a separate buyer account in sandbox for payments ? The buyer email must be different to the seller (facilitator) emails.

@ghost
Copy link
Author

ghost commented Mar 11, 2014

@romk1n yes, if you mean defaultUserEmail property as buyer email. The test seller account e-mail is default and has created automatically from PayPa. I also tried to pay without any email for defaultUserEmail ( it's optional parameter, yes?) – the same result.

@ghost
Copy link
Author

ghost commented Mar 11, 2014

@romk1n Ok, I understand what it is. There are test user of account (seller) and sandbox user (buyer) and their emails should be different. Right?

@romk1n
Copy link
Contributor

romk1n commented Mar 11, 2014

defaultUserEmail ( it's optional parameter, yes?)

this parameter is used when you know email address for the paying customer to speed up payment process. For example, you implemented your own account setup and can pre fill this information.

There are test user of account (seller) and sandbox user (buyer) and their emails should be different. Right?

Correct. It's not possible to pay yourself :)

@ghost
Copy link
Author

ghost commented Mar 11, 2014

Thank you @romk1n!

@romk1n
Copy link
Contributor

romk1n commented Mar 11, 2014

@fl3ur you welcome!

@romk1n romk1n closed this as completed Mar 11, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant