JeremyDunn / php-fedex-api-wrapper

This library provides a fluid interface for constructing requests to the FedEx web service API.
269 stars 184 forks source link

How can i set PurposeOfShipmentType in rate-request? #117

Closed atwebify closed 2 years ago

atwebify commented 5 years ago

Hi, I want to set set PurposeOfShipmentType to sold for rate-request and unable succeed...

skyviewmedia commented 4 years ago

any luck with this ?? Facing the same issue. Shipments within India require this value.

I tried $rateRequest->CustomsClearanceDetail->CommercialInvoice->Purpose = SimpleType\PurposeOfShipmentType::_SOLD;

but doesn't work.

atwebify commented 4 years ago

$rateRequest->RequestedShipment->CustomsClearanceDetail->CommercialInvoice->Purpose = SimpleType\PurposeOfShipmentType::_SOLD;

skyviewmedia commented 4 years ago

Hey, thanks ! That did resolve the issue with PurposeOfShipmentType. Now stuck with "There are no valid services available. " Not sure why that would pop up. Its using a production key.

atwebify commented 4 years ago

Check serviceable area of fedex

github-actions[bot] commented 2 years ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 2 years ago

This issue was closed because it has been inactive for 14 days since being marked as stale.