Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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:
should work!!
Please help!!!
Hi Marc,
Which version of uCommerce are you running?
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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!!!
Hi Marc,
Which version of uCommerce are you running?
is working on a reply...