Support IslamQA

Please contribute generously in order to ensure the continuity of our website InshaAllah.

Working as a programmer for websites that deal with credit cards

31-07-2021

Question 104299

I work as a website programmer, and I was asked to work on reorganizing the programming of one of the programmed sites and delivered to the client. 

The problem is that some sections of this site are related to the provision of the online purchase service Known as (e-commerce) - for any product of the company that owns the site, and this is through Visa cards that he can use to buy online, and It is known that these cards are provided by Islamic and riba-based banks. 

The questions now are as follows:

1- Ruling on programming pages and codes related to the purchase service.

2- Do I have to leave work in any location that provides this service? Or just avoid working on pages, sections, and codes that directly relate to this service

3- Future plans aim to contract on some sites that aim to serve and facilitate the management of restaurants belonging to some international hotels and a site related to one of the ministries that give riba-based loans to young people. May I continue working in this company until the nature of the upcoming work becomes clear to me, or do I have to leave it from now on?

4- I was asked to work on creating a library of the company's codes to be used later in any new site, and I don't know if it's gonna be used in any particular kind of site, so what is the ruling working of this library for codes. 

Answer

Praise be to Allah.

Firstly: Dealing with Visa and credit cards when buying and selling

It is permissible to use credit cards and Visa cards for buying and selling if that is free of any infractions of Islamic teachings, which have been explained previously in the answers to questions no. 97846 and 97530 .

There is nothing wrong with designing websites with permissible aims and goals, even if they offer the service of buying online.

We should point out here that it is permissible for the seller – whether online or otherwise – to sell his product to someone who uses a Visa card in all cases, without inquiring into the matter and trying to find out how the purchaser uses it, and whether he has credit on his card or not, or whether he is subject to a penalty in the event of late payment or not, because the seller is not required to do that, and he is not obliged to ask the purchaser about the source of his wealth. Rather all he has to do is avoid dealing with anything that is haraam, such as selling gold to someone who wants to buy it with a credit card. Moreover, some purchasers may use a haraam credit card, but in a way that is free of committing any infractions, as is well known in the case of what is called loading the card, in which a person loads the card with the value of the purchases, then he buys whatever he wants, and thus avoids infractions.

It is not permissible for designers and programmers to help in anything that is haraam, such as designing anything that promotes gambling, drinking of alcohol, prostitution, and other haraam actions.

Secondly: it is not permissible to contribute to programming for anything that has to do with the sale of haraam things

It is permissible for you to work in this company on condition that you do not help in anything that is haraam, as noted above. So you should not contribute to programming for anything that has to do with selling haraam things, advertising them or promoting riba-based loans. However, you may continue to work until the nature of the upcoming work becomes clear to you. If you can avoid doing anything that involves any infractions of Islamic teachings, then carry on working, but if you can find work that is free of dubious matters and is “clean” in all aspects, then that is undoubtedly better.

Thirdly: There is nothing wrong with doing what you have been asked to do of making a library of codes for the company, which can be used later on in any new website, even if we assume that it will be used for websites that deal in e-commerce, or that deal with banks and hotels. Simply making a website for buying and selling and recording the user’s credit card number is not haraam.

We praise Allah, may He be exalted, for giving you the eagerness to seek what is halaal and keep away from what is haraam, and making you concerned about that. We ask Allah, may He be exalted, to continue to help and guide you.

And Allah knows best.

Ruling on jobs
Show on Islam Q&A website.