Create payment link
This step creates an order for one configured item and saves its payment link. Add a separate message step to send the link to the customer.
Add the step
Open your project → Automations → the intended For dialogs automation. Click Add step and select Prodamus → Create payment link. Find the step catalog.
Select the new step and click Open step settings in the right panel.
Configure the purchase
Select the Prodamus account and complete one item: code, name, price in rubles, quantity and optional description. The example is one consultation priced at 5,000 ₽. Use your own values.
In Step result, keep the suggested variable names or enter your own:
| Result | Purpose |
|---|---|
order_id |
Order ID for checking and waiting for payment. |
payment_url |
The link to send to the customer. |
status |
Status after creating the link. |
amount_kopecks |
Total in kopecks: 500,000 for a 5,000 ₽ purchase. |
item_code |
Selected item code. |
Save using the Senler button below the embedded app. After editing the step, click Save in the step panel.
Send the link and continue
- Use Add step to add Message and connect it to the create-link output.
- Enter
Consultation payment link: {{run.payment_url}}in the message. If you renamed the variable, use its new name. Configure a message step. - After the message, add Wait for payment with
{{run.order_id}}to continue after payment. For an immediate check, use Check payment.
A saved link means the customer can proceed to checkout. Connect delivery of the paid result to the confirmed-payment branch. Testing and publishing the workflow.