gabrielbull / gabrielbull/php-ups-api
cannot submit claim
- Dominant language
- PHP
- Stars
- 457
- Forks
- 257
- PR merge metrics
- No merged PRs in 30d
Description
We get the UPS Shipping interface and generated the label and the TrackingNumber. However, in actual use, when the delivery is obtained (actually lost), we cannot initiate a claim on the official website, prompting the error as shown in the figure below. What is the cause of this, is it because we have not configured the parameters of the api interface normally?
```
$packageServiceOptions = new \Ups\Entity\PackageServiceOptions();
$packageServiceOptions->setShipperReleaseIndicator(false);
$package->setPackageServiceOptions($packageServiceOptions);
```

Contributor guide
Research direction
Start with the PackageServiceOptions configuration shown in the report, especially setShipperReleaseIndicator(false), and compare the generated UPS request with the requirements for initiating a claim on the official website. Done means identifying whether a missing or incorrect API parameter explains the claim error, or documenting that the failure is outside this wrapper.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- api
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100