Skip to content

Commit

Permalink
Merge pull request #2 from paypaldev/latest
Browse files Browse the repository at this point in the history
Latest
  • Loading branch information
devpato committed Sep 11, 2023
2 parents aeafb4a + 2337091 commit e157545
Show file tree
Hide file tree
Showing 4 changed files with 184 additions and 178 deletions.
16 changes: 10 additions & 6 deletions README.md
@@ -1,4 +1,5 @@
![PayPal Developer Cover](https://github.com/paypaldev/.github/blob/main/pp-cover.png)

<div align="center">
<a href="https://twitter.com/paypaldev" target="_blank">
<img alt="Twitter: PayPal Developer" src="https://img.shields.io/twitter/follow/paypaldev?style=social" />
Expand All @@ -18,17 +19,18 @@
</div>

# PayPal JavaScript FullStack Advanced Checkout

This sample app shows how to build and customize a card payment form to accept debit and credit cards. Please make sure to style the card form so that it aligns with your business branding.

To create this application from scratch, follow the [Advanced Checkout integration](https://developer.paypal.com/docs/checkout/advanced/integrate) guide from the [PayPal Developer](https://developer.paypal.com/home) docs.


## Run this project

### PayPal Codespaces

[![Open Code In GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/paypaldev/PayPal-JavaScript-FullStack-Advanced-Checkout-Sample?devcontainer_path=.devcontainer%2Fdevcontainer.json)

- Rename the ``.env.example`` file to `.env`.
- Rename the `.env.example` file to `.env`.
- Add your environment variables in the `.env` file.

### Locally
Expand All @@ -37,6 +39,7 @@ To create this application from scratch, follow the [Advanced Checkout integrati
- Add your environment variables in the `.env` file.

Complete the steps in [Get started](https://developer.paypal.com/api/rest/) to get the following sandbox account information from the Developer Dashboard:

- Sandbox client ID and the secret of [a REST app](https://www.paypal.com/signin?returnUri=https%3A%2F%2Fdeveloper.paypal.com%2Fdeveloper%2Fapplications&_ga=1.252581760.841672670.1664266268).
- Access token to use the PayPal REST API server.

Expand All @@ -59,8 +62,9 @@ Expiration Date: `01/2025`
CVV: `123`

## PayPal Developer Community

The PayPal Developer community helps you build your career while improving your products and the developer experience. You’ll be able to contribute code and documentation, meet new people and learn from the open-source community.
* Website: [developer.paypal.com](https://developer.paypal.com)
* Twitter: [@paypaldev](https://twitter.com/paypaldev)
* GitHub: [@paypal](https://github.com/paypal)

- Website: [developer.paypal.com](https://developer.paypal.com)
- Twitter: [@paypaldev](https://twitter.com/paypaldev)
- GitHub: [@paypal](https://github.com/paypal)

0 comments on commit e157545

Please sign in to comment.