Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • Marc Love (uSkinned.net) 447 posts 1789 karma points
    Jul 22, 2013 @ 15:52
    Marc Love (uSkinned.net)
    0

    Could not find a address with name 'Shipment'.

    Hi, I am racking my brains with this one and getting knowhere. I keep getting the error "Could not find a address with name 'Shipment'." when running the following code:

    TransactionLibrary.CreateShipment(liShipmentID, overwriteExisting: true);

    my full code is as follows:

    TransactionLibrary.EditBillingInformation(
                        lsFirstName,
                        lsLastName,
                        "",
                        "",
                        "",
                        "",
                        "",
                        "",
                        "",
                        "",
                        "",
                        "",
                        9
                        );

                TransactionLibrary.EditShippingInformation(
                lsFirstName,
                lsLastName,
                lsEmailAddress,
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                "",
                9
                );

    int liShipmentID = 8;
    TransactionLibrary.CreateShipment(liShipmentID, overwriteExisting: true);
    TransactionLibrary.ExecuteBasketPipeline();

    All records in the database are present so I have no idea why this is not working.

    The following code brings back the shipping address:

    var shipmentAddress = TransactionLibrary.GetShippingInformation();

    So you would assume:

    TransactionLibrary.CreateShipment(liShipmentID, overwriteExisting: true);

    should work!!

    Please help!!!

  • Søren Spelling Lund 1797 posts 2786 karma points
    Jul 29, 2013 @ 14:25
    Søren Spelling Lund
    0

    Hi Marc,

    Which version of uCommerce are you running?

Please Sign in or register to post replies

Write your reply to:

Draft