Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion authorizenet/cim.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import re
import xml.dom.minidom

from django.utils.datastructures import SortedDict
#from django.utils.datastructures import SortedDict
from collections import OrderedDict as SortedDict
from authorizenet.conf import settings
import requests

Expand Down
185 changes: 80 additions & 105 deletions authorizenet/migrations/0001_initial.py

Large diffs are not rendered by default.

83 changes: 0 additions & 83 deletions authorizenet/migrations/0002_auto__add_cimresponse.py

This file was deleted.

53 changes: 53 additions & 0 deletions authorizenet/migrations/0002_django16_to_django19.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.9.1 on 2016-01-26 18:29
from __future__ import unicode_literals

from django.db import migrations, models
from django.conf import settings
import django.db.models.deletion



class Migration(migrations.Migration):

dependencies = [
('authorizenet', '0001_initial'),
]

operations = [
migrations.CreateModel(
name='CustomerProfile',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('profile_id', models.CharField(max_length=50)),
('customer', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, related_name='customer_profile', to=settings.AUTH_USER_MODEL)),
]
),

migrations.CreateModel(
name='CustomerPaymentProfile',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('payment_profile_id', models.CharField(max_length=50)),
('first_name', models.CharField(blank=True, max_length=50)),
('last_name', models.CharField(blank=True, max_length=50)),
('company', models.CharField(blank=True, max_length=50)),
('phone_number', models.CharField(blank=True, max_length=25)),
('fax_number', models.CharField(blank=True, max_length=25)),
('address', models.CharField(blank=True, max_length=60)),
('city', models.CharField(blank=True, max_length=40)),
('state', models.CharField(blank=True, max_length=40)),
('zip', models.CharField(blank=True, max_length=20, verbose_name=b'ZIP')),
('country', models.CharField(blank=True, max_length=60)),
('card_number', models.CharField(blank=True, max_length=16)),
('expiration_date', models.DateField(blank=True, null=True)),
('customer', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='payment_profiles', to=settings.AUTH_USER_MODEL)),
],
),
migrations.AddField(
model_name='customerpaymentprofile',
name='customer_profile',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='payment_profiles', to='authorizenet.CustomerProfile'),
)

]
84 changes: 0 additions & 84 deletions authorizenet/migrations/0003_missing_response_fields.py

This file was deleted.

Loading