When processing the payment the amount should reflect the transaction data

Created on 11 November 2024, 2 months ago

Problem/Motivation

When a notification is received, if there is no payment with the given transaction ID, a new payment is created with an amount equal to the total price of the order. In some cases, such as prepayments, the Datatrans amount represents only a fraction of the total order amount.

Proposed resolution

The payment created by DatatransBase::processPayment should be based on the transaction data amount.

🐛 Bug report
Status

Active

Version

2.1

Component

Code

Created by

🇨🇭Switzerland aerzas

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024