main #39
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user