查詢中心 - 個人帳戶
  • 主頁
  • 付款和轉帳
  • 糾紛申訴和限制
  • 我的帳戶
  • 我的錢包
  • 登入和安全資訊
  • 賣家工具

Why did I get API error code 10527?

Issue
PayPal returned API error code 10527 - Invalid Data - This transaction cannot be processed. Please enter a valid credit card number and type.

Cause
The Direct Payment API response includes this error message when the credit card information you're passing has problems. The problems can involve the card type (such as Visa, MasterCard, Amex, or Discover), the card number, or both.

Solution
To resolve this error, ensure that you're passing the correct card type and that the number format is correct for that credit card type. Make sure the Credit Card information is mapped to the Credit Card fields in your form. The following list has examples of card type or number format issues that would produce error code 10527:
  • Passing an Amex credit card number that begins with a number other than 3.
  • Passing a Visa credit card number that has more or fewer than 16 digits.
  • Passing white spaces in your card number in the API request. White space characters are treated as part of the card number.
See the Developer Portal for a complete list of NVP/SOAP API error codes.

我們可以透過更多方式提供協助

如你繼續瀏覽,我們將使用 Cookie 來改善和提供為你而設的體驗。可否讓我們同時使用 Cookie 向你展示個人化廣告?了解更多並管理你的 Cookie