We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47f8eef commit a7a3d94Copy full SHA for a7a3d94
fragdenstaat_de/fds_donation/services.py
@@ -276,7 +276,7 @@ def create_donation_from_payment(payment):
276
donation = Donation.objects.create(
277
donor=donor,
278
timestamp=order.created,
279
- amount=order.total_gross,
+ amount=payment.captured_amount,
280
amount_received=payment.received_amount or Decimal("0.0"),
281
order=order,
282
payment=payment,
0 commit comments