Merge remote-tracking branch 'origin/master'

remotes/origin/hotfix/LIL-661
nikita 8 years ago
commit 7fdf31c22d
  1. 4
      apps/payment/views.py

@ -1,3 +1,5 @@
from decimal import Decimal
import arrow import arrow
import json import json
import logging import logging
@ -206,7 +208,7 @@ class PaymentwallCallbackView(View):
effective_amount = payment_raw_data.get('effective_price_amount') effective_amount = payment_raw_data.get('effective_price_amount')
if effective_amount: if effective_amount:
payment.amount = effective_amount payment.amount = Decimal(effective_amount)
transaction_to_mixpanel.delay( transaction_to_mixpanel.delay(
payment.user.id, payment.user.id,

Loading…
Cancel
Save