Quantcast
Channel: Active questions tagged paypal - Stack Overflow
Viewing all articles
Browse latest Browse all 468

Paypal REST .net API extract VALIDATION_ERROR

$
0
0

Is there anyway to extract any validation errors after attempting to create a payment with a credit card? In the log I see errors like this but it would be nice to be able to report back to the user what is wrong with the data they have typed into the check out fields.

{"name":"VALIDATION_ERROR","details":[{"field":"payer.funding_instruments[0].credit_card.billing_address.line2","issue":"Must contain only these characters: a-z, A-Z, 0-9, punctuation(.,#-'), and embedded spaces"}],"message":"Invalid request - see details","information_link":"https://developer.paypal.com/webapps/developer/docs/api/#VALIDATION_ERROR","debug_id":"b5f35e3567798"}


Viewing all articles
Browse latest Browse all 468

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>