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

Unsupported Return Handling result: "FAILED_TO_COLLECT_BY_TRANSPORTER" #8

Closed
DangerLifter opened this issue Oct 22, 2019 · 2 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@DangerLifter
Copy link

app/vendor/bol-com/retailer-api/src/Model/Rma/ReducedReturnItem.php:220:
string(32) "FAILED_TO_COLLECT_BY_TRANSPORTER"

In HandlingResult.php line 85:

[InvalidArgumentException]
Unknown enum value given

Exception trace:
() at app/vendor/bol-com/retailer-api/src/Model/Rma/HandlingResult.php:85
BolCom\RetailerApi\Model\Rma\HandlingResult::fromValue() at app/vendor/bol-com/retailer-api/src/Model/Rma/ReducedReturnItem.php:221
BolCom\RetailerApi\Model\Rma\ReducedReturnItem::fromArray() at app/vendor/bol-com/retailer-api/src/Model/Rma/ReturnItemList.php:53
BolCom\RetailerApi\Model\Rma\ReturnItemList::fromArray() at app/vendor/bol-com/retailer-api/src/Handler/Rma/GetAllReturnsHandler.php:54
BolCom\RetailerApi\Handler\Rma\GetAllReturnsHandler->__invoke() atapp/vendor/bol-com/retailer-api/src/Infrastructure/MessageBus.php:111

@JeroenVanLeusden JeroenVanLeusden self-assigned this Oct 23, 2019
@JeroenVanLeusden JeroenVanLeusden added the bug Something isn't working label Oct 23, 2019
@JeroenVanLeusden
Copy link

@DangerLifter You sure this is a valid result? Because it's not listed by bol.com (https://developers.bol.com/apiv3returns/).

@DangerLifter
Copy link
Author

Yes. Here it is response from bol.com production (return in our shop):
Array
(
[rmaId] => XXXXXX
[orderId] => XXXXXX
[ean] => XXXXXX
[quantity] => 1
[registrationDateTime] => 2019-10-21T08:50:17+02:00
[returnReason] => Verkeerde maat of formaat
[returnReasonComments] => Zit voor geen meter
[fulfilmentMethod] => FBB
[handled] => 1
[handlingResult] => FAILED_TO_COLLECT_BY_TRANSPORTER
[processingResult] => CANCELLED
[processingDateTime] => 2019-10-21T18:59:49.946+02:00
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants