Function __global->store_shipping_address
Definitions
sources/ecommerce_shipping.php
- Store shipping address for a transaction.We try and merge it with one we already have on record in a sensible way.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: int
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$trans_expecting_id | ID_TEXT | required parameter | N/A | N/A | Expected transaction ID |
$txn_id | ID_TEXT | Blank (empty string) | N/A | N/A | Transaction ID (blank: not set yet) |
$shipping_address | ?array | Null | N/A | N/A | Shipping address (null: get from POST parameters) |
Return
- Address ID (null: none saved)
- Type: ?AUTO_LINK
- Set: N/A
- Range: N/A