-
Notifications
You must be signed in to change notification settings - Fork 1
Issues: shango420/echo--script-src-https-www.paypal.com-sdk-js-client-id-SU_CLIENTE_ID-componentes-SU_COMPONENTES-s
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
Author
Label
Projects
Milestones
Assignee
Sort
Issues list
Integración
documentation
Improvements or additions to documentation
help wanted
Extra attention is needed
#11
opened Oct 25, 2023 by
shango420
You can use the JavaScript SDK to render buttons, payment method icons (marks), and credit and debit card form fields (hosted-fields). You can also use the JavaScript SDK to check the funding-eligibility of a given payment method
import { loadScript } from "@paypal/paypal-js";
loadScript({ "client-id": YOUR_CLIENT_ID })
.then((paypal) => {
// start to use the PayPal JS SDK script
})
.catch((err) => {
console.error("failed to load the PayPal JS SDK script", err);
});
#10
opened Oct 25, 2023 by
shango420
ProTip!
Type g i on any issue or pull request to go back to the issue listing page.