cancel
Showing results for 
Search instead for 
Did you mean: 

PayPal Checkout Hosted Fields

Options
nkavian
Contributor
Posted on

I have followed all of the instructions on the following page to setup PayPal Checkout Hosted Fields and I'm always getting the message I'm ineligble

 

https://developer.paypal.com/docs/business/checkout/advanced-card-payments/

 

paypal.HostedFields.isEligible() is always false!!

 

What do I need to do to get this to work on sandbox?

2 REPLIES 2

PayPal Checkout Hosted Fields

Options
FullIntegration
Contributor

Hei, I too faced the same issue. 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 ) 

PayPal Checkout Hosted Fields

Options
Daniels118
Contributor

Also be sure to not include "disable-funding=card" in the javascript SDK parameters. I was upgrading from standard payments where I had this option enabled and this forced isEligible to always return false even if my account was approved.

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.