Payment links and statuses
Use this page to interpret payment results. Step configuration is covered in Automations; conversation handling is covered in agent tools.
Create a link
After link creation succeeds, the customer can open checkout. Creating an order or opening the link does not confirm payment. Reuse the returned link when resending the same order; calling create-link again may create another order.
Payment confirmation
Senler receives confirmation from a configured GetCourse process. Complete notification setup first. Confirmed full payment produces paid: true.
Enable Payment confirmed in the agent settings for a response, or use Wait for payment to continue an automation. A customer message, receipt screenshot or success page does not replace the check result.
Check the status
Use Check payment with the ID returned when the link was created. Senler needs the plugin’s order_id. A GetCourse order number and offer ID are different values. The order must belong to the applicable project and customer; an arbitrary external order number will not work.
Automations
- Create payment link — create an order and get its link.
- Check payment — read the result now.
- Wait for payment — continue after the final notification.
Interpret the result
| Status | Meaning | Action |
|---|---|---|
pending |
Payment has not been confirmed. | Ask the customer to complete payment or wait for confirmation. |
partially_paid |
Only part of the amount has been paid. | Wait for full payment. |
success, paid: true |
Full payment is confirmed. | Continue the paid workflow. |
order_canceled |
The order was canceled. | Clarify the next action with the customer. |
refunded |
A refund was confirmed. | Do not deliver the result as if payment succeeded. |
link_failed |
Link creation failed. | Check the order and the failure first. Do not blindly create a duplicate order. |
For delayed confirmation, see troubleshooting.