The payment context request misses the item type field #430
Labels
bug
Something isn't working
enhancement
New feature or request
help wanted
Extra attention is needed
Environment
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 theType
property.Current behavior
The
PaymentContextsItems
model doesn't have theType
property.Steps to reproduce
Possible solution
On the
PaymentContextsItems
, add the missing property.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.The text was updated successfully, but these errors were encountered: