PluginProbe
Easy Invoice – Invoice Generator, PDF Quotes & Payments / 2.4.2
Easy Invoice – Invoice Generator, PDF Quotes & Payments v2.4.2
2.4.3 2.4.4 2.4.2 2.4.0 2.4.1 2.3.8 2.3.7 2.3.6 2.3.5 2.3.4 2.3.3 2.3.2 2.3.1 2.2.0 2.1.21 2.1.20 2.1.19 2.1.18 2.1.0 2.1.1 2.1.10 2.1.11 2.1.12 2.1.13 2.1.14 All 60 releases
← All changes | assets/js/manual-payment.js +4 -0 2.1.21 → 2.4.2 View file →
@@ -210,8 +210,12 @@
210 210 formData.append('payment_type', paymentType);
211 211 formData.append('payment_notes', paymentNotes);
212 212 formData.append('payment_proof', paymentProof);
213 213 formData.append('nonce', easy_invoice_ajax.nonce);
214 + // Per-invoice access token forwarded from the URL (?ik=...).
215 + // The server-side canSubmitPaymentForInvoice() gate accepts this
216 + // as proof that the visitor came from a legitimate emailed link.
217 + formData.append('access_token', easy_invoice_ajax.access_token || '');
214 218
215 219 // Show loading
216 220 $(this).prop('disabled', true).text('Processing...');
217 221