Skip to content

Commit 97fc1d1

Browse files
authored
Update blank.yml
1 parent 01b5f70 commit 97fc1d1

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/blank.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
# This is a basic workflow to help you get started with Actions
2-
const clientID = "Acuy17p2LcOf9RMv8SUVBb3wic3FPEP2NHFFqfSCBRFrNFdmbC1JQ0w8HIKRxW3RDy2R8QTL93eptFYl";
3-
const merchantIDOrEmail = "identity_seller@paypal.com";
4-
const auth1 = Buffer.from('{"alg":"none"}').toString("base64");
5-
const auth2 = Buffer.from(`{"iss":${clientID},"payer_id":${merchantIDOrEmail}}`).toString("base64");
6-
const authAssertionHeader = `${auth1}.${auth2}.`;
2+
73
name: CI
84

95
# Controls when the workflow will run
@@ -38,3 +34,8 @@ jobs:
3834
run: |
3935
echo Add other actions to build,
4036
echo test, and deploy your project.
37+
38+
#use the cart information passed from the front-end to calculate the purchase unit details
39+
console.log(
40+
"shopping cart information passed from the frontend createOrder() callback:",
41+
cart,

0 commit comments

Comments
 (0)