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

Fatal error: Uncaught SoapFault exception: [Client] SOAP-ERROR: Encoding: Element 'Major' has fixed value '23' (value '21' is not allowed) #150

Closed graffxdesign closed 4 years ago

graffxdesign commented 4 years ago

Hello,

Has anyone ever seen this error?

Fatal error: Uncaught SoapFault exception: [Client] SOAP-ERROR: Encoding: Element 'Major' has fixed value '23' (value '21' is not allowed) in /home/user/public_html/wp-content/plugins/rma/vendor/jeremy-dunn/php-fedex-api-wrapper/src/FedEx/ShipService/Request.php:48 Stack trace: #0 /home/user/public_html/wp-content/plugins/rma/vendor/jeremy-dunn/php-fedex-api-wrapper/src/FedEx/ShipService/Request.php(48): SoapClient->__call('processShipment', Array) #1 /home/user/public_html/wp-content/plugins/rma/fedex.php(124): FedEx\ShipService\Request->getProcessShipmentReply(Object(FedEx\ShipService\ComplexType\ProcessShipmentRequest)) #2 {main} thrown in /home/user/public_html/wp-content/plugins/rma/vendor/jeremy-dunn/php-fedex-api-wrapper/src/FedEx/ShipService/Request.php on line 48

graffxdesign commented 4 years ago

I just changed setMajor to 23 and will try that out.