for-coder
446 subscribers
156 photos
65 videos
26 files
165 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
❀1
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....πŸ€·β€β™‚οΈ
😁4
Melkam senbet ❀️
❀6
Honorable mention @atocodes
Forwarded from αŠ α‰Ά Codes
I gochu @FIRAFLASH
for-coder
GIF
mood because Man Utd and Real Madrid Won πŸ•ΊπŸ•ΊπŸ•Ί
πŸ”₯3
Late-night code, warm lights, and a quiet checkmate β™ŸοΈbrewing β˜•πŸ‘¨β€πŸ’»
πŸ“ THE REBOOT
πŸ”₯7
Didn't expected this shot πŸ˜‚πŸ“Έ

I Appreciate it @thereboot
>>post<<
Forwarded from Henos T.
@ForCoder jema πŸ’»
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ”₯2
Damn 4 killo empty as hell before 1;30
Not gonna lie , on Monday before coffe like this I would fold 😭
😁1😭1
Good night πŸŒƒ swoch
Need me some pills(panadol)πŸ€• headache is spinning my head
πŸ₯΄1
What's with the weather these days day time the sunπŸ₯΅ zn when you thought you're done with it the cold around the evening πŸ₯Ά
😭1
Mtsm
@chapist Devs support team are not available when i really needed them😭
😑1
Shoutout to @chapist_dev! The callout helped
Now the thing is working now. Thanks πŸ‘
I can go to sleep nw😴
πŸŽ‰3