Search code examples
uspsstamps.com

EmailAddress is required for Hold For Pickup


I am getting when calling CreateIndicium method of SwsimV62SoapClient service.

Error: EmailAddress is required for Hold For Pickup.

Can you please suggest.


Solution

  • As per my prediction you have used soapclient's GetRates method.

    e.g.

    Authenticator = soapclient.GetRates(Authenticator, Rate, out Rates);
    Rate = Rates[0];
    

    But after calling your function you have to remove values from Rate.AddOns object.

    e.g.

    Rate.AddOns = null;
    

    A object previously returned from the GetRates web method. Remove elements not desired for the indicium.