APP_Escrow_Order::add_receiver( int $user_id, double $amount, bool $fees = true )
Adds a receiver to the order.
Package
Description Description
Parameters Parameters
- $user_id
(int) (Required) The receiver user ID
- $amount
(double) (Required) The amount to be transferred to the receiver (after fees)
- $fees
(bool) (Optional) If set to True subtracts the site fees to the receiver final amount
Default value: true
Return Return
(bool|void) False if user is already a receiver, True otherwise