diff --git a/templates/payment_setup.html b/templates/payment_setup.html index 6983fd057..eb7afe8d9 100644 --- a/templates/payment_setup.html +++ b/templates/payment_setup.html @@ -133,7 +133,7 @@ async function onApprove(data, actions) { try { - const response = await fetch(`/__/paypal/orders/${data.orderID}/capture`, { + const response = await fetch(`/__/paypal/orders/${data.orderID}/capture/`, { method: "POST", headers: { "Content-Type": "application/json",