Skip to content

Bug: Payment timeout notifications sent in buyer's language to both parties on sell orders #762

@Matobi98

Description

@Matobi98

Describe the bug

When a sell order is created and the buyer fails to send the payment within the allowed time, the bot sends timeout/expiry notification messages to both the buyer and the seller. However, both messages are sent using the buyer's configured language, instead of each user receiving the message in their own language.

This bug only occurs with sell orders — buy orders are not affected.

To Reproduce

  1. Create a sell order (not a buy order) with a seller who has a different bot language configured than the buyer (e.g. seller in Spanish, buyer in English).
  2. A buyer takes the order.
  3. The buyer does not send the payment within the allowed time window.
  4. Observe the expiry/timeout notification received by the seller — it arrives in the buyer's language instead of the seller's.

Expected behavior

Each user should receive the payment timeout notification in their own configured bot language:

  • The buyer should receive the message in the buyer's language.
  • The seller should receive the message in the seller's language.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions