btcpayserver/commerce_btcpay

Update payment amount on each IPN notifaction

Opened this issue · 1 comments

ndeet commented

Make sure the payment entity always has the correct payment amount stored to avoid to have a expired payment with the order amount.

ndeet commented

Added a first iteration with the last commit which only sets the total amount after successful confirmation of the payment.

Todo: Find out how to handle part payments (if supported), set payment amount back to 0 on cancelling the payment etc.