Navigation überspringen

[Gelöst] Luhn algorithm on a User form

This support ticket is created vor 4 Jahren, 4 Monaten. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Dieses Thema enthält 2 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von andrewD-10 vor 4 Jahren, 4 Monaten.

Author
Artikel
#1805025

Hi Toolset,

I have a form for new customers to put in their credit card information or account number. What I would like to do is run java script or PHP code to test if the card is a real card or not using the Luhn Algorithm. This is an algorithm that will determine if the card is a real number (it does not run any transactions, only test the numbers). Would you help me in putting this code inside the form I have. Please see the following links of examples.

Link: versteckter Link
Link: versteckter Link

If this is not possible by code is it possible to do the algorithm through a manual mathematical formula and conditional number fields?

Thank you,
Andrew

#1805285

Nigel
Supporter

Sprachen: Englisch (English ) Spanisch (Español )

Zeitzone: Europe/London (GMT+00:00)

Sorry Andrew

This is custom development work outside the scope of support, we cannot develop features for you like this.

I suggest you visit https://toolset.com/contractors/ and look for help there if you don't have access to a developer.

#1806287

Will do, thank you Nigel.