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

The payment context request misses the item type field #430

Open
1 task done
bSantos96 opened this issue Oct 16, 2024 · 0 comments
Open
1 task done

The payment context request misses the item type field #430

bSantos96 opened this issue Oct 16, 2024 · 0 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request help wanted Extra attention is needed

Comments

@bSantos96
Copy link

bSantos96 commented Oct 16, 2024

Environment

  • Checkout SDK version: 4.3.7
  • Platform and version: .NET 8
  • Operating System and version: Windows

Description

According to the documentation, there should be a way to set the item type on the RequestPaymentContext endpoint.

Expected behavior

The PaymentContextsItems should have the Type property.

Current behavior

The PaymentContextsItems model doesn't have the Type property.

Steps to reproduce

Possible solution

On the PaymentContextsItems, add the missing property.

  • I may be able to implement this bug fix.

Additional information

According to some tests I've done, when you add this property and try to send a request with type="discount", an error is thrown since the discount_amount must be null.

@armando-rodriguez-cko armando-rodriguez-cko self-assigned this Oct 16, 2024
@armando-rodriguez-cko armando-rodriguez-cko added bug Something isn't working enhancement New feature or request help wanted Extra attention is needed labels Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request help wanted Extra attention is needed
Development

No branches or pull requests

2 participants