プロジェクト
GitHubで見る
paypal-examples/v6-web-sdk-sample-integration
概要
Example JavaScript, TypeScript, and React integrations for the PayPal SDK
Web・アプリ開発計測したスター増加
- 24時間
- 0
- 7日間
- +5
- 15日間
- +11
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルPayPal v6 Web SDK Sample Integration
This repository contains sample integrations for PayPal's v6 Web SDK. Learn how to:
- make one-time payments with different payment methods like PayPal and Venmo
- save payment methods for future transactions
- add Pay Later messaging
Before You Code
Setup a PayPal Account
To get started, you'll need a developer, personal, or business account.
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, create a sandbox application to obtain a Client ID and Secret.
How to Run Locally
- Clone the repository by running the following command in your terminal:
git clone https://github.com/paypal-examples/v6-web-sdk-sample-integration.git - Create a
.envfile based on the.env.samplefile at the root of this repository:cd v6-web-sdk-sample-integration cp .env.sample .env - Open the
.envfile in a text editor and add values for thePAYPAL_SANDBOX_CLIENT_IDandPAYPAL_SANDBOX_CLIENT_SECRETenvironment variables. - To run the server, choose a server implementation from the
serverfolder at the root of this repository and follow the instructions in that folder's README. For example, for Node.js run:cd server/node npm install npm start - After running the server, go to http://localhost:8080 to see the client examples.
関連プロジェクトを探す
読み込み中…