Hello,
I am using B2BKing and need assistance in creating a custom snippet that ensures orders placed by sub-accounts are automatically paid using the parent account’s credit line once they are approved.
Currently, sub-accounts can place orders that require parent approval, but I would like to automate the payment process so that when the parent account approves an order, the amount is immediately deducted from their available credit line without requiring manual intervention.
Could you please provide guidance or a code snippet to achieve this functionality?
Thank you for your support!