Configuring data transfer in WayForPay
To enable the invoicing feature, follow these steps:
-
Go to «Settings» → «Finance» → «Payment gateway» and open the WayForPay integration settings;
-
In the «Import settings» section, toggle the «Create invoices in keyCRM» switch;
-
Enable «Products in invoices» to transfer product data;
-
Payment method — select a payment method for the payment that will be added to the order after the invoice is issued;
-
Website domain — add a link to the website that will appear on the invoice (make sure to include the https protocol and omit any extra characters);
-
Language — select the language in which the invoice will be issued;
-
Notification method — select the method by which WayForPay will notify the buyer about the invoice. If you select «All methods», the customer will receive a notification via all the notification methods listed.

Invoicing
After configuring the settings, you can generate an invoice for payment within an order or a funnel card. To do this:
-
In the payment section, click «+ Add Payment»;
-
Toggle the «Issue an invoice for payment» switch;
-
Select the payment service from which the invoice will be issued;
-
Enter the amount to be paid;
-
Optionally, you can leave a description for this payment in the system (it is not included in the invoice and is used for internal notes);
-
Click «Save».

How to manage invoices
After creating an invoice, the corresponding payment will be added to the payments in the order or in the sales funnel card. You can:
-
Track the payment status, which automatically updates after the invoice is paid;
-
Copy the payment link to send to the buyer. The link is valid for 1 week;
-
Cancel the created invoice. Hover over the payment status, and the «Rejected» button will appear.
Note! Payments can only be canceled in the CRM. If you need to cancel a payment in WayForPay, do so in your personal account on the payment service.

What the generated invoice looks like
When the customer clicks the payment link, the payment service page will open:
