Skip to content

Commit 1e01ed3

Browse files
committed
formatted app
1 parent aca72cc commit 1e01ed3

File tree

3 files changed

+196
-175
lines changed

3 files changed

+196
-175
lines changed

README.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
![PayPal Developer Cover](https://github.com/paypaldev/.github/blob/main/pp-cover.png)
2+
23
<div align="center">
34
<a href="https://twitter.com/paypaldev" target="_blank">
45
<img alt="Twitter: PayPal Developer" src="https://img.shields.io/twitter/follow/paypaldev?style=social" />
@@ -18,6 +19,7 @@
1819
</div>
1920

2021
# PayPal JavaScript FullStack 3Ds Advanced Checkout
22+
2123
This sample app shows you how to build and customize a card payment form to accept debit and credit cards and using 3Ds for authentification. Style the card form so that it aligns with your business branding.
2224

2325
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.
@@ -27,16 +29,18 @@ To create this application from scratch, follow the [Advanced Checkout integrati
2729
You can run this app locally or on [Stackblitz](https://stackblitz.com/edit/pp-so?file=README.md).
2830

2931
#### Run it locally
32+
3033
You will need to create a `.env` file with the following environment variables:
3134

3235
```shell
3336
CLIENT_ID=
3437
APP_SECRET=
3538
```
3639

37-
In the `checkout.ejs` replace the `YOUR_CLIENT_ID` string in the `script` tag with your PayPal Client ID.
40+
In the `checkout.ejs` replace the `YOUR_CLIENT_ID` string in the `script` tag with your PayPal Client ID.
3841

3942
Complete the steps in [Get started](https://developer.paypal.com/api/rest/) to get the following sandbox account information from the Developer Dashboard:
43+
4044
- 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).
4145
- Access token to use the PayPal REST API server.
4246

@@ -53,6 +57,7 @@ and navigate in your browser to: `http://localhost:9597/`.
5357
### Sample Card
5458

5559
#### Succesful 3Ds Authentification
60+
5661
Card Type: `Visa`
5762

5863
Card Number: `5458406954745076`
@@ -72,8 +77,9 @@ Expiration Date: `01/2025`
7277
CVV: `123`
7378

7479
## PayPal Developer Community
80+
7581
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.
76-
77-
* Website: [developer.paypal.com](https://developer.paypal.com)
78-
* Twitter: [@paypaldev](https://twitter.com/paypaldev)
79-
* GitHub: [@paypal](https://github.com/paypal)
82+
83+
- Website: [developer.paypal.com](https://developer.paypal.com)
84+
- Twitter: [@paypaldev](https://twitter.com/paypaldev)
85+
- GitHub: [@paypal](https://github.com/paypal)

0 commit comments

Comments
 (0)