How to send purchase receipt automatically after purchase is successful/ payment status is paid in Zoho Inventory (using the payment receipt email template)

How to send purchase receipt automatically after purchase is successful/ payment status is paid in Zoho Inventory (using the payment receipt email template)

Is there a setting in Commerce or Inventory which will allow me to enable this action? Or if there is a deluge code / API we can use to enable this functionality of sending customers a payment receipt email automatically upon successful purchase using the payment receipt email template in Inventory?