Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] PayPal Credit button only shows if vault=true #577

Closed
lmgroger opened this issue Nov 15, 2024 · 2 comments
Closed

[Bug] PayPal Credit button only shows if vault=true #577

lmgroger opened this issue Nov 15, 2024 · 2 comments
Labels

Comments

@lmgroger
Copy link

Library used

paypal js

🐞 Describe the Bug

PayPal Credit button won't show unless vault=true

🔬 Minimal Reproduction

Javascript error: "credit is not eligible"

        <div id="paypal-button-container">
        <script src="https://www.paypal.com/sdk/js?client-id=test&buyer-country=US&currency=USD&components=buttons,messages"></script>
        <script type="text/javascript">
			paypal.Buttons({
				style: {
					shape: 'rect',
					size: 'small'
				},
				fundingSource: paypal.FUNDING.CREDIT
			}).render('#paypal-button-container');
        </script>

😕 Actual Behavior

PayPal Credit button is not rendering and creating javascript error "credit is not eligible"

🤔 Expected Behavior

I feel like PayPal Credit button should be shown without vault=false since it shows up as payment method for both vaulting and non-vaulting transactions (requestBillingAgreement)

🌍 Environment

  • Browser: Chrome
Copy link
Contributor

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!

@github-actions github-actions bot added the Stale label Feb 14, 2025
Copy link
Contributor

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please create a new issue with up-to-date information.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant