百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
D

docs-examples

> 编程语言
开源

来自官方 PayPal 开发者文档的示例

195 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

来自官方 PayPal 开发者文档的示例

PayPal Developer Docs Example Code

Examples from the official PayPal Developer Docs.

Introduction and Overview

This repository contains two directories:

  • Standard integration
    • Set up standard payments on your checkout page for your buyers.
  • Advanced integration
    • Build and customize a card payment form to accept debit and credit cards.

Not sure where to start? Choose the standard integration.

The PayPal JavaScript SDK

These examples use the PayPal JavaScript SDK to display PayPal supported payment methods and provide a seamless checkout experience for your buyers.

The SDK has several configuration options available. The examples in this repository provide the most minimal example possible to complete a successful transaction.

Know before you code

Setup a PayPal Account

To get started with standard checkout, you'll need a developer, personal, or business account.

Sign Up or Log In

You'll then need to visit the Developer Dashboard to obtain credentials and to make sandbox accounts.

Create an Application

Once you've setup a PayPal account, you'll need to obtain a Client ID and Secret. Create a sandbox application.

Have Node.js installed

These examples will ask you to run commands like npm install and npm start.

You'll need a version of node >= 16 which can be downloaded from the Node.js website.

Running on Codespaces

Follow below steps to use Codespaces.

  1. Click "New with options..." to open a page where you can choose the Dev container to run.

  2. Choose the Dev container to run

  3. Client ID and Client Secrets are required for running the application in codespace.

Link to codespaces

Application Codespaces Link
Advanced Integration v2
Advanced Integration v1
Standard Integration
Save Payment Method Integration

Learn more

You can read more about codespaces in the PayPal Developer Docs.

Feedback

  • To report a bug or suggest a new feature, create an issue in GitHub.
  • To submit feedback, go to PayPal Developer Docs and select the "Feedback" tab.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

JavaScript

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言