adyen-dotnet-api-library
adyen-dotnet-api-library copied to clipboard
Paymentrequest and PaymentRequest
I just received a test terminal S1U2, and I want to use it with local integration. I've installed the NuGet package v14.4.0.
When setting up a SaleToPOIRequest
for a new payment, you can initiate MessagePayload
with a Paymentrequest
(lowercase 'r') or a PaymentRequest
(uppercase 'R').
Paymentrequest
differs slightly from PaymentRequest
. Paymentrequest.PaymentTransaction.AmountsReq.RequestedAmount
is a float, instead of a decimal. Paymentrequest.SaleData.SaleTransactionID
is a Saletransactionid
, instead of a TransactionIdentification
.
If I use Paymentrequest
, I get error message "At SaleToPOIRequest, field PaymentRequest: Missing".
When using PaymentRequest
the answer is OK.
So I guess Paymentrequest
should not be an option to use for MessagePayload
?