Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Paymentrequest and PaymentRequest #1011

Closed
tomashal opened this issue Apr 24, 2024 · 2 comments
Closed

Paymentrequest and PaymentRequest #1011

tomashal opened this issue Apr 24, 2024 · 2 comments
Labels

Comments

@tomashal
Copy link

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?

@DjoykeAbyah
Copy link
Contributor

DjoykeAbyah commented May 31, 2024

Hi @tomashal!

In short the answer is no, it should not be an option for MessagePayload. But perhaps this example from adyen-examples and this readme example provide more clarity. Please let us know if this solves your issue or if you have any other remarks!

Regards,

Djoyke
Adyen

@DjoykeAbyah DjoykeAbyah changed the title Paymentrequest and PaymentRequest [ECP-9252] Paymentrequest and PaymentRequest May 31, 2024
@DjoykeAbyah DjoykeAbyah changed the title [ECP-9252] Paymentrequest and PaymentRequest ECP-9252: Paymentrequest and PaymentRequest May 31, 2024
@DjoykeAbyah DjoykeAbyah changed the title ECP-9252: Paymentrequest and PaymentRequest Paymentrequest and PaymentRequest May 31, 2024
@DjoykeAbyah DjoykeAbyah changed the title Paymentrequest and PaymentRequest ECP-9258: Paymentrequest and PaymentRequest May 31, 2024
@DjoykeAbyah DjoykeAbyah changed the title ECP-9258: Paymentrequest and PaymentRequest Paymentrequest and PaymentRequest Jun 7, 2024
@DjoykeAbyah
Copy link
Contributor

This issue has been marked as stale due to inactivity. This issue will be closed. Please reopen if you still experience this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants