Closed simonworkhouse closed 4 years ago
I have created this as a draft pull request in case it would be preferred for the $negativeAmountAllowed
parameter to be configured for specific requests rather than in the AbstractRequest. Please provide feedback so that this pull request can be marked as ready for review.
Thanks @simonworkhouse, given this is what the PayPal driver also has in it's implementation I don't see the harm.
Feel free to open this PR.
Excellent, thank you.
Not sure if you would prefer this to be in the AbstractRequest or set only for specific requests, but Zip Pay requires discounts to be provided with a negative amount which will fail if negative amounts are not allowed.