PayPal Checkout Hosted Fields
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Labels:
-
REST SDK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 )
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That was it for me! I turned off card funding because I didn't want the card button, because I was going to use hosted fields. Kinda silly.
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- User is asked for shipping address when creating a credit card order in REST APIs
- Advanced Checkout Error Trigger is not triggering an error but still going through onApprove in Sandbox Environment
- How to redirect user to paypal checkout form for card payment? in PayPal Payments Standard
- How to confirm Paypal Checkout API Credential Setup is correct in Sandbox for X-Cart shopping cart in REST APIs
- Advance integration form field processing in REST APIs