Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions examples/get-rates-to-show-customer.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,12 @@
array(
'address_from'=> $from_address,
'address_to'=> $to_address,
'parcels'=> array($parcel),
'parcel'=> $parcel,
'async'=> false,
));

// Rates are stored in the `rates` array inside the shipment object
$rates = $shipment['rates'];
$rates = $shipment['rates_list'];

// You can now show those rates to the user in your UI.
// Most likely you want to show some of the following fields:
Expand Down