main #39

Merged
1323ed5 merged 4 commits from main into feature/admin-section 2024-12-05 18:33:44 +00:00
Showing only changes of commit e3b82bb3dd - Show all commits

View File

@ -535,10 +535,7 @@ Subcategory: ${product.subcategory_name}
const keyboard = {
inline_keyboard: [
...cryptoWallets.map(wallet => [{
text: `Pay with ${wallet.wallet_type}`,
callback_data: `pay_with_${wallet.wallet_type}_${productId}_${quantity}`
}]),
[{ text: `Pay`, callback_data: `pay_with_main_${productId}_${quantity}` }],
[{text: '« Cancel', callback_data: `shop_product_${productId}`}]
]
};
@ -547,8 +544,7 @@ Subcategory: ${product.subcategory_name}
`🛒 Purchase Summary:\n\n` +
`Product: ${product.name}\n` +
`Quantity: ${quantity}\n` +
`Total: $${totalPrice}\n\n` +
`Select payment method:`,
`Total: $${totalPrice}\n`,
{
chat_id: chatId,
message_id: callbackQuery.message.message_id,