Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue#613 show more info to maker when an order is taken #621

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

wolfie2023
Copy link

Add to the messages invoice_payment_request and someone_took_your_order the id of the order that was taken, the fiat amount and the payment method

wolfie2023 added 2 commits January 1, 2025 23:52
Add to invoice_payment_request message: order ID and payment method.
On branch issue#613
 Changes to be committed:
    modified:   locales/de.yaml
	modified:   locales/en.yaml
	modified:   locales/es.yaml
	modified:   locales/fa.yaml
	modified:   locales/fr.yaml
	modified:   locales/it.yaml
	modified:   locales/ko.yaml
	modified:   locales/pt.yaml
	modified:   locales/ru.yaml
	modified:   locales/uk.yaml
Add to someone_took_your_order message: order ID, fiat ammount and payment method.
- Added logic to retrieve the currency symbol based on the order's fiat_code.
- If a native currency symbol is found, it is used; otherwise, the fiat_code is used.
- Passed the `currency` and `order` instance to the `sendMessage` function to be used in the buyer's notification.

On branch issue#613
Changes to be committed:
	modified:   bot/messages.ts
	modified:   locales/de.yaml
	modified:   locales/en.yaml
	modified:   locales/es.yaml
	modified:   locales/fa.yaml
	modified:   locales/fr.yaml
	modified:   locales/it.yaml
	modified:   locales/ko.yaml
	modified:   locales/pt.yaml
	modified:   locales/ru.yaml
	modified:   locales/uk.yaml
@grunch grunch requested a review from Catrya January 2, 2025 12:45
- Improved clarity in bot messages.
- Adjusted message formatting to align with the defined style.

	modified:   locales/de.yaml
	modified:   locales/en.yaml
	modified:   locales/es.yaml
	modified:   locales/fa.yaml
	modified:   locales/fr.yaml
	modified:   locales/it.yaml
	modified:   locales/ko.yaml
	modified:   locales/pt.yaml
	modified:   locales/ru.yaml
	modified:   locales/uk.yaml
Copy link
Member

@Catrya Catrya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK, good job @wolfie2023

Copy link
Member

@grunch grunch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

Thanks for this valuable contribution @wolfie2023, for future contributions please sign you commits 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants