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