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.
- Create Pay Links using PayPal API in REST APIs
- ExpressCheckout to REST API - Is Partner Program Now Required to Host Simple 3rd Party Transactions? in REST APIs
- PayPal integration with Next, Lambda and API Gateway - 400 Invalid Request in Sandbox Environment
- Does the PayPal Checkout Standard integration support Apple Pay and Google Pay out of the box? in REST APIs
- Prevent changing shipping address via SET_PROVIDED_ADDRESS not working. Orders V2 Advanced Checkout in REST APIs