paypal / here-sideloader-api-samples

Sideloader API samples that enable to integrate PayPal Here into other apps
Other
24 stars 32 forks source link

(PLATFORM error 580022.) - Invalid request parameter: Payer Email cannot be blank #33

Closed glaidler closed 9 years ago

glaidler commented 9 years ago

We are getting the above intermittently with one of our customers.

Can you clarify what the validation rules are for payerEmail field - is it allowing empty strings but not null (the sample on Tim Messerschmit's blog has an emptry string), and considering the whole approach of paypal here, surely an email is not required?

https://devblog.paypal.com/paypal-here-sideloader-api/

lernerb commented 9 years ago

Hi Graham,

Can you give us the following information to help us debug the issue:

lernerb commented 9 years ago

If you look at our documentation here we note the validation rule that you are looking for:

Sending an invoice field with no value (for example, sending “payerEmail”: “”) will cause unexpected behavior, so remove any fields that lack a value.

glaidler commented 9 years ago

Many thanks - sure that wasn't there before, but may well be wrong.

glaidler commented 9 years ago

All I would say is update the sample on the blog - this has a blank payerEmail.

lernerb commented 9 years ago

Will do, I've sent an email to Tim to update his blog.

SeraphimSerapis commented 9 years ago

Thanks @glaidler and @lernerb - I've updated the gist to reflect the payerEmail field changes.