Currently, the order of transactions included in our request to PayPal is putting the commission amount (the smaller amount) first. This makes it show up above the actual product/service payment on PayPal and Woo receipts.
We need to re-arrange this so that the commission payment is always last. That way it will display the actual products/services and their amounts, with the commission coming at the bottom.
Sample of Current Request
Notice in the sample that PAYMENTREQUEST_0 is the commission amount of 2.34 while PAYMENTREQUEST_1 is the actual product amount. This should be reversed.
The commission should always come last no matter how many payments are included on the order.
Details
Currently, the order of transactions included in our request to PayPal is putting the commission amount (the smaller amount) first. This makes it show up above the actual product/service payment on PayPal and Woo receipts.
We need to re-arrange this so that the commission payment is always last. That way it will display the actual products/services and their amounts, with the commission coming at the bottom.
Sample of Current Request
Notice in the sample that PAYMENTREQUEST_0 is the commission amount of 2.34 while PAYMENTREQUEST_1 is the actual product amount. This should be reversed.
The commission should always come last no matter how many payments are included on the order.