Jump to content

Credit card verification


Recommended Posts

Hi,
I would like to develop a module for some validation checks,.

 

In case it doesn't pass I want not to continue with the payment process.

 

What is the hook I need to use, and is there any basic example I could look at.

Thanks
Avi

Edited by אVי (see edit history)
Link to comment
Share on other sites

Hi,

I would like to develop a module for checking if a credit card isn't in a black list, and if it is to not continue the payment process.

 

What is the hook I need to use, and is there any basic example I could look at.

 

Thanks

Avi

 

And how can we get a credit card "black list"?

Link to comment
Share on other sites

what exactly is a "credit card black list"?  And how is that related to Prestashop?

 

 
 
After a client submits an order.
 
Before the payment goes through.
 
I want to call an external API that will let me know if there is a problem with the clients credit.
 
if there is a problem i don't what to proceed with charging his credit card.
 
So i'm wondering What is the hook I need to use, and is there any basic example I could look at.
 
Thanks
Avi
Edited by אVי (see edit history)
Link to comment
Share on other sites

 

 
 
After a client submits an order.
 
Before the payment goes through.
 
I want to call an external API that will let me know if there is a problem with the clients credit.
 
if there is a problem i don't what to proceed with charging his credit card.
 
So i'm wondering What is the hook I need to use, and is there any basic example I could look at.
 
Thanks
Avi

 

 

But does this "external API" already exists?

Link to comment
Share on other sites

So which external API would you like to use?  Why are you assuming the rest of the community knows what you would like to do?

 

The question is:

 

 

 

I would like to develop a module for checking if a credit card isn't in a black list some thing, and if it is to not continue the payment process.

 
What is the hook I need to use, and is there any basic example I could look at.

 

 
API is not significant.
Link to comment
Share on other sites

So which external API would you like to use?  Why are you assuming the rest of the community knows what you would like to do?

 

You missed the entire point of my question.

 

The question is:

 

 

 

 
API is not significant.

 

Thanks

 

I edited the question

Link to comment
Share on other sites

Hi,

I would like to develop a module for some validation checks,.

 

In case it doesn't pass I want not to continue with the payment process.

 

What is the hook I need to use, and is there any basic example I could look at.

 

Thanks

Avi

 

It depends on the payment method that you use, but in most of them you introduce the card in the payment gateway, so you don't have the control even you don't know which is the card used.

 

BTW: Which is the API for checking credit cards?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...