cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Type <class 'authorizenet.apicontractsv1.STD_ANON_15'> cannot be created from: 4007000000027

def post(self, request, *args, **kwargs):    
form
= self.form_class(request.POST) if form.is_valid():
card_number
= request.POST.get('card_number') Payment.objects.charge_credit_card(Decimal ('27.55'), card_number, request.POST) return HttpResponseRedirect('/success/') return render(request, self.template_name, {'form': form})

 

I'm i litle lost here , i know that the form pass the credit card but we can see in the error authorizenet raise an error. someone help if possible !! thanks!

Lifechess
Member
0 REPLIES 0