尝试使用信用卡付款后是否有任何验证错误可以提取?在日志中,我看到了这样的错误,但如果能够向用户报告他们在结帐字段中输入的数据有什么问题,那就太好了。
{"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"}