Merge branch 'hotfix/LIL-633' into 'master'

LIL-633

See merge request lilcity/backend!144
remotes/origin/hotfix/LIL-661
cfwme 7 years ago
commit 57696fab47
  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