Skip to content

Commit ebb37b6

Browse files
committed
code cleanup
1 parent eda80ef commit ebb37b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

public/app.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ function onClose() {
6666
threedsElement.innerHTML = "";
6767
}
6868

69-
//Handle 3Ds
69+
//Handle 3Ds Payload
7070
async function onHandle3Ds(payload, orderId) {
7171
const { liabilityShifted, liabilityShift } = payload;
7272

@@ -131,7 +131,7 @@ if (paypal.HostedFields.isEligible()) {
131131
placeholder: "MM/YY",
132132
},
133133
},
134-
}).then(async(cardFields) => {
134+
}).then((cardFields) => {
135135
document.querySelector("#card-form").addEventListener("submit", async (event) => {
136136
event.preventDefault();
137137
try {

0 commit comments

Comments
 (0)