You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have no problem making a filter on the payment_id (as you can see below)
and one dispute is returned with the status: 'evidence_under_review'
however when I try to add a filter on statuses.
a.statuses = CheckoutSdk::Disputes::DisputeStatus::EVIDENCE_UNDER_REVIEW or a.statuses = [CheckoutSdk::Disputes::DisputeStatus::EVIDENCE_UNDER_REVIEW]
I do not retrieve the dispute anymore.
Even if the generated call : get: /disputes?payment_id=pay_e77yn2wwobeejoybhbnqbvi6d4&statuses=evidence_under_review seems correct.
Maybe I am missing how this filter should be written.
When I use only the statuses filter (without the payment_id) I do get a dispute but on another payment id. So it would seem that the filter works but it might be the API that has a problem (not the gem then).
Hello,
I have trouble using the
https://github.com/checkout/checkout-sdk-ruby/blob/master/lib/checkout_sdk/disputes/disputes_query_filter.rb
I have no problem making a filter on the payment_id (as you can see below)
and one dispute is returned with the status: 'evidence_under_review'
however when I try to add a filter on statuses.
a.statuses = CheckoutSdk::Disputes::DisputeStatus::EVIDENCE_UNDER_REVIEW
ora.statuses = [CheckoutSdk::Disputes::DisputeStatus::EVIDENCE_UNDER_REVIEW]
I do not retrieve the dispute anymore.
Even if the generated call :
get: /disputes?payment_id=pay_e77yn2wwobeejoybhbnqbvi6d4&statuses=evidence_under_review
seems correct.Maybe I am missing how this filter should be written.
I can see some spec here:
https://github.com/checkout/checkout-sdk-ruby/blob/9f65b92be25eb9854c8c68bf3742b57f21d54b6e/spec/checkout_sdk/disputes/disputes_integration_spec.rb
but none use the statuses params.
Additional info
When I use only the statuses filter (without the payment_id) I do get a dispute but on another payment id. So it would seem that the filter works but it might be the API that has a problem (not the gem then).
Only filter on status
Only filter on id
different result that have a 'evidence_under_review' status but was not present in the first call
The text was updated successfully, but these errors were encountered: