Jump to content

Additional Credit card fields for custom gateway


danielfelipe16

Recommended Posts

Hello!

Our payment gateway provider requires 3 additional parameters in credit card payments, otherwise their antifraud module triggers a fraud attempt and the payment fails.

I know other countries don´t require this, but in my country is mandatory for this company.

They require name on the card, National ID number and number of installments .

I could achieve this by setting cookies via Jquery and reading them back in PHP, this works, however, some customers have addons on their browsers that mess with the cookies, and some of our payments fail because they lack of this parameters.

Adding the input fields in the template does not solve the issue because the data does not get posted to the credit card gateway.

Does anybody know how to get this working? I would appreciate any help

Edited by danielfelipe16
Link to comment
Share on other sites

  • 2 weeks later...
On 1/23/2020 at 6:25 PM, cdeese8 said:

Is it possible to disable the antifraud? That might be an option.... I'm not able to help aside from that idea. Best of luck.

Thanks for your reply, I had to create a temporary database and save the required data via ajax before submitting the payment, and modify the orderform and creditcard template,  works flawless

Link to comment
Share on other sites

  • 1 month later...
  • 3 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated