Code rearrange

This commit is contained in:
M.Ravi 2017-10-26 15:15:27 +02:00
parent ef9dc446db
commit 692f82cba4

View file

@ -627,8 +627,7 @@ class SettingsView(LoginRequiredMixin, FormView):
card_id=card_details_response['card_id'] card_id=card_details_response['card_id']
) )
stripe_utils.associate_customer_card( stripe_utils.associate_customer_card(
request.user.stripecustomer.stripe_id, request.user.stripecustomer.stripe_id, token
token
) )
msg = _( msg = _(
"Successfully associated the card with your account" "Successfully associated the card with your account"