diff --git a/docs/order-confirmation.html b/docs/order-confirmation.html index 88bb88c..edfdf81 100644 --- a/docs/order-confirmation.html +++ b/docs/order-confirmation.html @@ -54,9 +54,10 @@

Error Loading Order

try { const order = await wooAPI.getOrder(orderId, orderKey, billingEmail); + const settings = await wooAPI.getSettings(); // Create order info HTML - const orderHtml = ` + const orderHtml = `w

Order Number:

@@ -68,7 +69,7 @@

Error Loading Order

Payment Method:

-

${order.payment_method}

+

${settings.paymentMethodData[order.payment_method].title}