php - Quantity not appearing on invoice created by WHMCS -


i trying place order via whmcs api on local environment. order code,

$postfields["action"] = "addorder"; $postfields["clientid"] = "104"; $postfields["billingcycle"] = "monthly"; $postfields["pid"] = "55"; $postfields['configoptions'] = base64_encode(serialize(array(1 => 3))); $postfields["regperiod"] = "5"; $postfields["paymentmethod"] = "paypal"; 

it listed on api doc 'configoptions',

$postfields['configoptions'] = base64_encode(serialize(array(1 => 3))); 

^ changing order quantity , other options(first element quantity). problem invoice generated whmcs contains quantity 1 , not 3.

---------------------------------------------------------edit 1 ------------------------------------------------------------------

i have looked product configurations, "tick box allow customers specify if want more 1 of item when ordering" option ticked well!


Comments

Popular posts from this blog

PHP DOM loadHTML() method unusual warning -

python - How to create jsonb index using GIN on SQLAlchemy? -

c# - TransactionScope not rolling back although no complete() is called -