From 2d7bbd6f90d69756a2e1a5d763bca6f6313744cb Mon Sep 17 00:00:00 2001 From: Sergi Almacellas Abellana Date: Fri, 2 May 2014 18:59:12 +0200 Subject: [PATCH] Card year expiry date must be saved as Char on the database --- checkout.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/checkout.py b/checkout.py index 9a3fbc0..f4afda2 100755 --- a/checkout.py +++ b/checkout.py @@ -721,7 +721,7 @@ def complete_using_credit_card(cls, credit_card_form): profile_wiz.card_info.expiry_month = \ credit_card_form.expiry_month.data profile_wiz.card_info.expiry_year = \ - credit_card_form.expiry_year.data + str(credit_card_form.expiry_year.data) profile_wiz.card_info.csc = credit_card_form.cvv.data with Transaction().set_context(return_profile=True):