Getting started
The Prodamus application lets a Senler agent create a payment link for a preconfigured item and price. A payment is confirmed only after a signed notification from Prodamus.
What you need
Before setup, prepare:
- a published Prodamus payment page such as
https://shop.payform.ru; - the secret key of that payment page;
- a Senler project with the agent that needs payments.
The secret key is never given to the agent and is not displayed after saving.
1. Authorize the Senler project
Open the installed Prodamus application from the required Senler project. On the Authorization screen, click Sign in and approve access to this project.
Authorization applies only to the current Senler project. Prodamus payment-page details are added separately in the next step.
If the application permissions change, it shows the Token update required screen. Select Update token and approve the new permissions. Your connected Prodamus accounts remain unchanged.
2. Connect Prodamus
Open the Connection tab and add at least one Prodamus account. Enter a connection name, the store identifier, and the payment-page secret key.
You may connect multiple payment pages. One is selected by default, but each tool may use a different one.
3. Add the tool to an agent
Open the Senler agent settings, add a Prodamus application tool, and select the Tool tab. Select a Prodamus account and configure the allowed items, prices, and customer contact data.
The Add or Save button is in the Senler window below the application. If a required field is missing, the application prevents saving and explains what to fix.
4. Enable the payment event
In the same agent settings, open App events and enable the Prodamus “Payment confirmed” event. After Prodamus sends a verified notification, the event is delivered to that exact agent in the conversation where the link was created.
Define what the agent should tell the customer and which actions it should take after payment in the agent instruction. The application does not send a hard-coded customer message.
Result
After saving, the agent can:
- create a link only for configured items and prices;
- send the link to the customer in the current conversation;
- check the stored order status by
order_id; - react to a confirmed payment in the same conversation according to its instruction.