Function to process a purchase now escrow payment for a particular user for a specific amount. This function takes final value fee and insertion fee permission exemptions into consideration.
This function is also responsible for updating `buynow_purchases` field in the listings table so members can sort their listings based on most/least item sales.
array
instant_purchase_now
([string $method = ''], [integer $projectid = 0], [integer $qty = 0], [integer $amount = 0], [integer $total = 0], [integer $seller_id = 0], [integer $buyer_id = 0], [bool $shipping_address_required = 1], [integer $shipping_address_id = 0], [integer $accountid = 0], [string $buyerpaymethod = 'Unknown'], [integer $buyershipcost = 0], [integer $buyershipperid = 0])
-
string
$method: payment method (offline or account)
-
integer
$projectid: project id
-
integer
$qty: order qty
-
integer
$amount: order amount
-
integer
$total: order total amount
-
integer
$seller_id: seller id
-
integer
$buyer_id: buyer id
-
bool
$shipping_address_required: is shipping address required?
-
integer
$shipping_address_id: shipping address id profile for buyers location
-
integer
$accountid: account id
-
string
$buyerpaymethod: buyers selected payment method string (just the title to show on buying/selling act)
-
integer
$buyershipcost: buyers selected shipping cost
-
integer
$buyershipperid: buyers selected shipping service id
Inherited Methods
Inherited From escrow
escrow::cancel_unlinked_escrow_invoices()
escrow::fetch_escrow_commission()
escrow::fetch_escrow_commission_logic()
escrow::fetch_escrow_opponent()
escrow::fetch_escrow_owner()
escrow::status()