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 >> Document >> All.
Step 3 : Scroll down >> enable the toggle of Send SMS on record Payment >> Click on Save Changes.