To send SMS to the customer, while recording the payment automatically, please follow the below mentioned steps:
Step 1 : Please go to Settings.
Step 2 : Click on Preferences.
Step 3 : Under Document, General enable the toggle of Send SMS on record Payment.
Step 4 : Click on Save & Update.