Skip to content

Commit 3480f9d

Browse files
authored
Merge pull request #22 from paypaldev/pato-changes
Pato changes
2 parents 40dee91 + f6d2503 commit 3480f9d

File tree

5 files changed

+246
-347
lines changed

5 files changed

+246
-347
lines changed

.devcontainer/devcontainer.json

Lines changed: 0 additions & 40 deletions
This file was deleted.
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
// For more details, see https://aka.ms/devcontainer.json.
2+
{
3+
"name": "PayPal Standard Integration",
4+
"image": "mcr.microsoft.com/devcontainers/javascript-node:20",
5+
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
6+
// Use 'postCreateCommand' to run commands after the container is created.
7+
"postCreateCommand": "npm install",
8+
// Use 'postAttachCommand' to run commands when attaching to the container.
9+
"postAttachCommand": {
10+
"Start server": "npm start"
11+
},
12+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
13+
"forwardPorts": [8888],
14+
"portsAttributes": {
15+
"8888": {
16+
"label": "Preview of Standard Checkout Flow",
17+
"onAutoForward": "openBrowserOnce"
18+
}
19+
},
20+
"secrets": {
21+
"PAYPAL_CLIENT_ID": {
22+
"description": "Sandbox client ID of the application.",
23+
"documentationUrl": "https://developer.paypal.com/dashboard/applications/sandbox"
24+
},
25+
"PAYPAL_CLIENT_SECRET": {
26+
"description": "Sandbox secret of the application.",
27+
"documentationUrl": "https://developer.paypal.com/dashboard/applications/sandbox"
28+
}
29+
},
30+
"customizations": {
31+
"vscode": {
32+
"extensions": ["vsls-contrib.codetour"],
33+
"settings": {
34+
"git.openRepositoryInParentFolders": "always"
35+
}
36+
}
37+
}
38+
}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ This sample app shows you how to integrate PayPal into your JavasScript app for
2525
## Run this project
2626

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

3030
### Locally
3131

0 commit comments

Comments
 (0)