Django form fields for validating credit card information
License
bryanchow/django-creditcard-fields
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
master
Could not load branches
Nothing to show
Could not load tags
Nothing to show
{{ refName }}
default
Code
-
Clone
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more.
- Open with GitHub Desktop
- Download ZIP
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
django-creditcard-fields provides custom form fields for collecting and validating credit card information. Example usage: ---------------------------------------------------------------------------- from django import forms from fields import CreditCardField, ExpiryDateField, VerificationValueField class PaymentForm(forms.Form): name_on_card = forms.CharField(max_length=50, required=True) card_number = CreditCardField(required=True) expiry_date = ExpiryDateField(required=True) card_code = VerificationValueField(required=True) ---------------------------------------------------------------------------- THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTY OF ANY KIND IS EXPRESSED OR IMPLIED. YOU USE IT AT YOUR OWN RISK. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
About
Django form fields for validating credit card information
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published