Activity
Mon
Wed
Fri
Sun
Dec
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
What is this?
Less
More

Memberships

University of Code

Public • 3.5k • Free

9 contributions to University of Code
LemonSqueezy
Has anyone implemented lemonsqueezy for the project, i am having a problem integrating it, any help would be highly appreciated 🥲
3
13
New comment Jul 31
0 likes • Jul 31
@Dev Ben 😢 if you don't mind am still new with all this and am going through the documentation and reading as much as i can, is there a way we can work with the current project to integrate it and replace stripe?
1 like • Jul 31
@Dev Ben invite sent, i hope to learn more from you and really understand this critical aspect
Cors
my pdfView is giving me this error; TypeError: Failed to fetch think its a CORS issue but i did everything as sonny did yet i am still getting this error, any fix?
1
75
New comment Jul 31
1 like • Jul 29
@Dev Ben I hope you are doing well, the part of the code am using to fetch is as below; useEffect(() => { const fetchFile = async () => { const response = await fetch(url); const file = await response.blob(); setFile(file); }; fetchFile(); }, [url]);
0 likes • Jul 31
update, i got it to work on my linux, so i noticed what was giving me cors errors on windows was that idm would catch the pdf first before the pdf was actually displayed, afetr disabling idm now there is no more cors issues, and also i manged to fix the "NaN" issue i was facing when it comes to displaying pdf size, it was just a simple thing hich made me rage out for not seeing it, in the document code where size is i just replaced with sizes and it now works fine....am currently battling with the payment gateway since stripe is not available where i am from
Vercel build error
Do we add the service_key to vercel or am i doing something here?
0
3
New comment Jul 27
Vercel build error
Unable to load pdf
I am unable to load pdf. It is giving me cors error how do i solve?
2
12
New comment Jul 29
Unable to load pdf
0 likes • Jul 27
i did everything according to the vid, even rewatched it again multiple times to ensure i have no typo but i still can't load the pdf
Size Error
I don't understand why am seeing "NaN' in the size field with the code below; <div className="flex flex-col w-64 h-80 rounded-xl bg-white drop-shadow-md justify-between p-4 transition-all transform hover:scale-105 hover:bg-green-600 hover:text-white cursor-pointer group"> <div className="flex-1" onClick={() => { router.push(`/dashboard/file/${id}`); }} > <p className="font-semibold line-clamp-2">{name}</p> <p className="text-sm text-gray-500 group-hover:text-green-100"> {/** render size in kbs */} {byteSize(size).value} KB </p> </div> </div>
3
4
New comment Jul 27
Size Error
1-9 of 9
Geoffrey Nduati
3
34points to level up
@geoffrey-nduati-7880
Freelancing and building amazing projects that will inspire others to learn and want to change their lives.

Active 83d ago
Joined Jul 21, 2024
powered by