אVי Posted July 23, 2017 Share Posted July 23, 2017 (edited) 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.ThanksAvi Edited July 24, 2017 by אVי (see edit history) Link to comment Share on other sites More sharing options...
joseantgv Posted July 23, 2017 Share Posted July 23, 2017 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 More sharing options...
bellini13 Posted July 23, 2017 Share Posted July 23, 2017 what exactly is a "credit card black list"? And how is that related to Prestashop? Link to comment Share on other sites More sharing options...
אVי Posted July 23, 2017 Author Share Posted July 23, 2017 (edited) 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 July 23, 2017 by אVי (see edit history) Link to comment Share on other sites More sharing options...
joseantgv Posted July 23, 2017 Share Posted July 23, 2017 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 More sharing options...
אVי Posted July 24, 2017 Author Share Posted July 24, 2017 But does this "external API" already exists? Hey, It does in some countries. But that isn't the point of my question. Any suggestions? Thanks Avi Link to comment Share on other sites More sharing options...
bellini13 Posted July 24, 2017 Share Posted July 24, 2017 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? Link to comment Share on other sites More sharing options...
joseantgv Posted July 24, 2017 Share Posted July 24, 2017 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 More sharing options...
אVי Posted July 24, 2017 Author Share Posted July 24, 2017 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 More sharing options...
joseantgv Posted July 24, 2017 Share Posted July 24, 2017 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now