for-coder
435 subscribers
150 photos
64 videos
26 files
162 links
@FORCODERR

@firaflash πŸ‘¨β€πŸ’»
Download Telegram
mefelasefing stuff use this code to check cbe tranfers receipts
/**
* Generates a CBE receipt transaction link
* @param {string} transactionId - The transaction ID (e.g., "FT25296C4YJC")
* @param {string|number} senderAccount - The sender's account number (will use last 8 digits)
* @returns {string} The complete transaction link
*/
function generateCbeReceiptLink(transactionId, senderAccount) {
if (!transactionId || transactionId.trim() === '') {
throw new Error('Transaction ID is required');
}

const accountStr = senderAccount.toString();
if (accountStr.length < 8) {
throw new Error('Sender account must have at least 8 digits');
}

const last8Digits = accountStr.slice(-8);
const baseUrl = "https://apps.cbe.com.et:100/?id=";

return `${baseUrl}${transactionId}${last8Digits}`;
}

/**
* Verifies a CBE receipt link
* @param {string} receiptLink - Full CBE receipt URL
*/
async function verifyCbeReceipt(receiptLink) {
try {
const response = await fetch(receiptLink);
if (!response.ok) {
console.log("Verified Receipt βœ…");
} else {
console.log("Receipt link is accessible βœ”οΈ");
}
} catch (error) {
console.error("Error fetching the receipt:", error.message);
}
}


made it just now
Gn 😴 πŸ’€
Good morning y'all πŸŒ„
Good start with Dave's tune
πŸ‘Œ1
One of the things I like about telegram
WHO DESIGNED THE UI AND ANIMATIONS πŸ‘ŒπŸ’™πŸ€Œ


Like I can watch the animation only more than 10X
πŸ’―1
Coding is fun until it starts to do what you told it to do instead of what its you want it to do....πŸ€·β€β™‚οΈ
😁3
Melkam senbet ❀️
❀4
Honorable mention @atocodes
Forwarded from αŠ α‰Ά Codes
I gochu @FIRAFLASH
for-coder
GIF
mood because Man Utd and Real Madrid Won πŸ•ΊπŸ•ΊπŸ•Ί
πŸ”₯2