general housekeeping: sessions vs forms

attempted several ways of passing on the customs variable from one
function to the next. Ended up using _SESSION
Close to sync

since everything is passed over javascript simple php calls to the API
don’t seem to work. created a robust shipment object. most recent error
says that recipient’s name is required even though it’s in my object.