0
試圖使用信用卡創建付款後,是否有任何驗證錯誤?在日誌中,我看到類似這樣的錯誤,但能夠向用戶報告他們輸入到檢出字段的數據有什麼問題會很好。paypal REST .net api extract VALIDATION_ERROR
{"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"}
感謝您的回覆。我已經能夠提取字符串與vb.net ... sErrorResponse = DirectCast(ex.InnerException,PayPal.Exception.ConnectionException).Response但我沒有太多關於JSON,你必須爲此創建一個數據結構轉換爲對象之前的錯誤字符串? – user2726626