Made a script, got paid, client tried to impliment it, it doesn't work. What to do?

UPDATE: It was in fact not my script's fault, he didn't include it properly in functions.php... Anyway, got paid €25 extra for fixing it for him and helped him out with some CSS. So everybody is happy :)

So I made a little simple jQuery script to show a div and picture when clicking on a picture.
My 'client' said he had a jQuery job and I was like, hey I can do it for ya.
So after a little chat we agreed that I would make the script for 25 euro and just email him the script, so he could impliment it himself.

So I made the script in 5 minutes, made a little example page, showed it to him and all was fine.
I get paid, he has the script.

Now when he tried to impliment the script in WordPress, it didn't work. So he contacted me and I'm like oh let me have a loot. So I changed it a little bit, like replacing '$' with 'jQuery' and all that.
It still does not work.

I don't have access to his WordPress installation or whatever so I am just like, try this and maybe than this.

Now, I don't know if I should still continue to help him. Our agreement was that I would make the script and he'll impliment it. Is it my responsibility to make it work within WordPress and troubleshoot his whole WordPress installation and what not, to make it work.
The script worked just as a standalone, but withing the WordPress eviroment it doesn't.

My heart is like "help him fix it, you made the script but you also should help him make it work", while my brain is like "No you did what you agreed to do, and you got paid to do that. It is a waste of time to help him, because you're not getting paid extra".

Can anybody maybe shed some light on what the best way is to handle this and if I'm an asshole if I tell him like hey I did what I had to do.

1 Like

get him to pay you to maintain the website full time.

4 Likes

Well you did wrote the code but not correctly since it doesn't work.

But if you cant access the word-press installation. You can rewrite the code to js and explain that his website is broken and if you think you can fix it over him a solution but it will cost more then 25, but first present him that its the fault of Wordpress and not because you saw so something not.

He is 'developing' the website and was in need of a little jQuery script. So he outsourced it.
I don't think he'll pay me to develop/maintain the website. Unfortunately.

but does he have access to the root of the website?
i think indeed just go plain js is indeed better if he uses all kind of plugins.

The code itself does certainly work. But not with Visual Composer, which he is using to make the website in WordPress. He did not notify me that he even was using WordPress.

I'm thinking about rewriting the code in just JS, but he said he needed jQuery. Don't know why tho.

I believe he does indeed have root access.

i think indeed just go plain js is indeed better if he uses all kind of plugins.

Tho last time i had similar issue the website couldn't reach the jqeury library.

sounds to me like you did your job, and he agreed that you did your job. You have no further responsibility.

I don't mean this solely from a technical or legal standpoint. I mean there's also nothing you need to feel bad about. You lived up to your side of the deal, and then some. If he doesn't want to hire you to do the integration, then you're done, and you should not invest anything more into it.

1 Like

I agree with the other posters. You did your job which was to make a script that does a task. His job (it seems. It's his actual job) is to implement that script and develop the site. You've not been paid to implement it into a custom WordPress site.

If you can write it in plain JS in a similar amount of time then it's up to you if you want to do that as a courtesy. But you did what you were asked, anything more is another job especialy if it includes integration which should cost a lot more.

(Go check out some videos from Luis Rossman, he talks about this a lot)

1 Like

No. You did your job, used what you know and can do and made it all work on your end. If he can't read it he can google why it doesn't work and how to actually implement it.

Far as you should be concerned theres nothing to feel bad about.

You wrote it, you demonstrated it to the client and got their approval. Your work is done, if the client does not have the skillset necessary to implement the script they need to hire you or someone else to do it for them.

I completely agree with the others, you've been payed to create a script in a specific language requested by a client, if the client is having trouble implementing it, that's his/her problem since that is out of your contract. If the client needs anything else then he/she should pay you further for another job like creating the script in a different language or implementing it into a system.

You absolutely should not feel anything close to bad for denying them service since you've have completed your contract (and the fact that the service you are contracted to does not extend to implementation).

You should have set the expectation more clearly when you agreed to the work.

Get proper access to actually fix the issue, so you have a good relationship for future work. Chances are it's an easy enough fix, so just take care of it. If it's not that easy, make it clear this is a one-time thing, but you're happy to help him out as much as you are able.

1 Like

Try including the jquery CDN in your script. He may be using an old outdated one (wordpress amirite?).

Think of it like this

You want to service your car, so you go to a parts store, and buy all the parts you need. You go home, and you fuck it up and stuff your car. Is that the parts shops fault? Hell no!

This is the same thing. You provided working code, the guy screwed it up. Not you problem.

Very true.

I also agree with blaxa though, if you foresee future work coming from this, then taking the time to fix it will give you a better relationship. Going that small step further is rare these days, so you tend to gain customer loyalty if you do it.

You just need to decide if the work required to fix it is worth the future payoff.

1 Like

Can't you setup a little wordpress server and website yourself? (not sure what you had when showing it too him). Or he could just copy the website he has to zip and send it to you to run locally for testing.

While I agree he is asking more then what you agreed to, you should really resolve this issue otherwise your going to keep facing this same problem and clients will start talking about how crap you are etc...

Its all about learning, something that costs time/money but pays off in the end.

I agree with many of the replies already given. In the past I've always looked at stuff like this in a few ways and I've always been willing to accept a small financial loss with if the potential for a larger gain is there. However being firm but polite to ensure the client knows that I'm not someone they can take advantage of.

E.g.

1) What's in it for me if I go above and beyond - this client will likely give me more work or introduce me to other potential clients: I'm sorry there is a problem, but its not my problem, but I will help you gratis limited to x hours only or x tasks only.

2) There is little chance of any lucrative work coming from this person in future. I'd rather they go away and don't bother me again: I'm going to point-blank refuse further help unless they agree to the scope of what they need help on and a (usually expensive) rate they will pay me.

3) I'm not sure if there is future gain from this client, but I liked them and want to be nice: I'm sorry that didn't work for you, you didn't explain your requirements fully, here is your $25 back. If you need further assistance I will be happy to discuss scope and provide a quote.

Sometimes when the amounts of money are small just refunding them and walking away with no hard feelings is the best thing to do.

Sounds like you were asked to sub-contract one simple bit of code. If your client/contractor didn't tell you the right version of jQuery, or mention it was within Wordpress that would be his problem for not being specific.

I have used 2 different javascript methods to show/hide a <div>, one with jQuery and nice transitions, one with simple vanilla javascript using CSS transition control.

If your 'client' can't grasp the concepts to get it working, or invest some time to websearch his own solution, I would be happy to help out, subject to agreeing a consultation fee, but with no guarantee of a working solution
(not a serious offer, but if the price is right...)