Payment confirmation
GetCourse must send a notification for Senler to learn that an order was paid. Configure this once per school account. Without it, links may work, but the agent will not receive a payment event and the waiting step will not continue.
Get the settings from the plugin
Open the Senler project → Tools → Plugins → Installed → GetCourse. Open the account and expand How to connect payment confirmations to find the destination address and data template.
Copy the address from your own app. The screenshot shows a local environment: GetCourse cannot reach a .local address. Your administrator must provide a public HTTPS application address for a working connection.
Use the notification secret chosen during account setup. The API key is not used here.
Create a GetCourse process
- As the owner or administrator, open CRM → Processes → Create process.
- Name it, for example, “Senler payment confirmation”, and select the Orders object type.
- Configure entry for fully paid orders created through this integration. During verification, restrict it to one test order.
- In the Process tab, add Call URL. The GetCourse process guide shows navigation and interface screenshots.
Configure Call URL
Use POST, the destination address from the plugin and a JSON body. Add the X-GetCourse-Secret header with your notification secret. Find these fields in GetCourse.
Copy the entire template, preserving the expressions in braces:
{
"event": "paid",
"order_number": "{object.number}",
"deal_id": "{object.id}",
"currency": "RUB",
"amount": "{object.cost_money_value}",
"paid_amount": "{object.payed_money}"
}
GetCourse substitutes the current order’s values. This integration uses ruble payments. order_number contains the GetCourse order number; do not replace it with Senler’s order_id.
Verify the response and enable the process
Save the response in a separate string field on the order. After sending, check that the field equals success. This confirms that the app accepted the notification. For another response or an error, retry once after one minute. If the retry fails, finish the task with an error for an administrator to review.
Run the process for one test order created through Senler. After full payment, check for success, the Paid result in Senler and the intended workflow continuation. Then enable processing of matching new orders.
This process reports full payment. Partial payment, cancellation and refund need separate notifications and conditions; they will not appear in Senler automatically.
Test without connecting a payment provider
You can verify notifications with a separate GetCourse test order manually marked as paid in the school’s records. This changes the order state and may trigger access delivery in GetCourse. It verifies status transfer, not bank payment acceptance. Use only a test order and an agreed method of recording the payment.
After setup, continue to the agent or automations.