クレジットカードで支払いを作成しようとした後、検証エラーを抽出する方法はありますか? ログにこのようなエラーが表示されますが、ユーザーがチェックアウト フィールドに入力したデータの何が問題なのかをユーザーに報告できると便利です。
{"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"}