paypal.HostedFields.isEligible() returns False always : Paypal Debit/Credit Card Payment

Viewed 716
2 Answers

I found this answer on the Paypal community.

"In my case, I was using a personal account as a developer account. When I created sandbox credentials from the Business account it started to work. So make sure,

  1. Developer account is linked/created with the business account
  2. Sandbox account is created from that.
  3. Sandbox account should also be a business account and it should be enabled for advanced payments ( Using this link: https://developer.paypal.com/docs/business/checkout/advanced-card-payments/#enable-your-account )"

Here the keypoints:

  • You need a business account to use advanced payments.
  • You don't need to have a real business account when working in the sandbox environment: you can create a fake business account in the sandbox and use it.
  • You need to ask for approval to use the advanced payments. This request must be done separately for sandbox and production accounts.
  • When loading the Javascript SDK be sure to not pass the disable-funding=card parameter, otherwise isEligible() will return false even if your account has been approved!
Related