You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's not clear where sync=True should be used when purchasing a label.
This is your code example
//Purchase the desired rate. sync=True indicates that the function will wait until the
//carrier returns a shipping label before it returns
$transaction = Shippo_Transaction::create(array('rate'=> $rate["object_id"]));
so, should it be used in this way? $transaction = Shippo_Transaction::create(array('rate'=> $rate["object_id"], 'sync' => true));
Thanks
The text was updated successfully, but these errors were encountered:
Sorry for the confusion, the sync option has been removed from Example.php as it is something we do not support in the PHP client. We are investigating several options that could help us make this possible.
Hello,
It's not clear where sync=True should be used when purchasing a label.
This is your code example
so, should it be used in this way?
$transaction = Shippo_Transaction::create(array('rate'=> $rate["object_id"], 'sync' => true));
Thanks
The text was updated successfully, but these errors were encountered: