{"id":18082,"date":"2019-03-26T16:10:30","date_gmt":"2019-03-26T16:10:30","guid":{"rendered":"https:\/\/kb.sambapos.com\/?p=18082"},"modified":"2019-03-26T16:10:30","modified_gmt":"2019-03-26T16:10:30","slug":"4-35-how-to-apply-sms-sending-implementation-on-sambapos","status":"publish","type":"post","link":"https:\/\/kb.sambapos.com\/en\/4-35-how-to-apply-sms-sending-implementation-on-sambapos\/","title":{"rendered":"4.35. How to Apply SMS Sending Implementation on SambaPOS?"},"content":{"rendered":"<p>In this document, it will be explained how to setup SMS Sending Implementation for SambaPOS.<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 14pt;\"><strong>1. Setup of the API URL<\/strong><\/span><\/p>\n<p>Edit the URL that was provided by the Operator, according to below line.<\/p>\n<p><code>http:\/\/api.center.com\/v1\/send-sms\/get\/?username=username&amp;password=password&amp;text=@message@&amp;receipents=@number@&amp;sender=Company Name<\/code><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 14pt;\"><strong>2. Adding Printer<\/strong><\/span><\/p>\n<p><strong>Main Menu &gt; Manage &gt; Printing &gt; Printers &gt; <\/strong>here click on<strong> Add Printer.<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-18088 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/03\/Sms-Eng-01-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/03\/Sms-Eng-01-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/03\/Sms-Eng-01-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/03\/Sms-Eng-01-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/03\/Sms-Eng-01.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p><strong>Printer Name:<\/strong> Sms Printer<\/p>\n<p><strong>Printer Share Name \/ Port Name:<\/strong>\u00a0. (Period)<\/p>\n<p><strong>Printer Type:<\/strong>\u00a0Custom Printer \/ URL Printer Click on <strong>Settings<\/strong> and configure the settings according to above image.<\/p>\n<p><strong>URL Format:<\/strong>\u00a0Enter the URL that was provided by operator.<\/p>\n<p><strong>Data Format:<\/strong> Blank<\/p>\n<p><strong>Token Char:<\/strong> @<\/p>\n<p><strong>Live Mode:<\/strong>\u00a0Must be selected.<\/p>\n<p><strong>Retry Count:<\/strong> 0 (Zero)<\/p>\n<p><strong>Retry Minutes:<\/strong> 0 (Zero)<\/p>\n<p>After completing necessary editings, click on <strong>Save<\/strong> button.<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 14pt;\"><strong>3. Adding Printer Template<\/strong><\/span><\/p>\n<p><strong>Main Menu &gt; Manage &gt; Printing &gt; Printer Templates &gt; <\/strong>here click on<strong> Add Printer Template.<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-18090 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/03\/Sms-Eng-02-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/03\/Sms-Eng-02-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/03\/Sms-Eng-02-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/03\/Sms-Eng-02-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/03\/Sms-Eng-02.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p><strong>Template Name:<\/strong>\u00a0SmsTemplate<\/p>\n<p><strong>Sort Orders:<\/strong> Blank<\/p>\n<p><strong>Merge Lines:<\/strong>\u00a0Don&#8217;t Merge<\/p>\n<p><strong>Template:<\/strong><\/p>\n<p>Copy below code group\u00a0 and paste into <strong>Template<\/strong> field;<\/p>\n<p><code>number={ENTITY DATA:Customer:Phone}<br \/>\nmessage=Dear {ENTITY NAME:Customer},Your order is on the way. Your Order Total is: {TICKET TOTAL}<\/code><\/p>\n<p>After completing necessary editings, click on <strong>Save<\/strong> button.<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 14pt;\"><strong>4. Adding Print Job<\/strong><\/span><\/p>\n<p><strong>Main Menu &gt; Manage &gt; Printing &gt; Print Jobs &gt; <\/strong>here click on <strong>Add Print Job.<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-18092 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/03\/Sms-Eng-03-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/03\/Sms-Eng-03-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/03\/Sms-Eng-03-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/03\/Sms-Eng-03-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/03\/Sms-Eng-03.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p><strong>Pring Job Name:<\/strong>\u00a0SendSms<\/p>\n<p><strong>Printing Content:<\/strong>\u00a0All Lines<\/p>\n<p>Add a row by clicking on <strong>Add <\/strong>button and select <strong>Sms Printer <\/strong>in the <strong>Printer <\/strong>column, select <strong>SmsTemplate <\/strong>in <strong>Printing Template <\/strong>column.<\/p>\n<p>After completing necessary editings, click on <strong>Save<\/strong> button.<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 14pt;\"><strong>5. Adding Automation Command<\/strong><\/span><\/p>\n<p><strong>Main Menu &gt; Manage &gt; Automation &gt; Automation Commands &gt; <\/strong>here click on<strong> Add Automation Command.<\/strong><\/p>\n<p><strong>General Settings Section;<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-18105 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/03\/Sms-Eng-04-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/03\/Sms-Eng-04-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/03\/Sms-Eng-04-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/03\/Sms-Eng-04-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/03\/Sms-Eng-04.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p><strong>Automation Comand Name:<\/strong>\u00a0Sms<\/p>\n<p><strong>Button Header:<\/strong> Sms<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Mappings Section;<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-18107 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/03\/Sms-Eng-05-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/03\/Sms-Eng-05-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/03\/Sms-Eng-05-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/03\/Sms-Eng-05-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/03\/Sms-Eng-05.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>Here, add a row by clicking on <strong>Add<\/strong> button.<\/p>\n<p>After completing necessary editings, click on <strong>Save<\/strong> button.<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 14pt;\"><strong>6. Adding Action<\/strong><\/span><\/p>\n<p><strong>Main Menu &gt; Manage &gt; Automation &gt; Actions &gt; <\/strong>here click on<strong> Add Action.<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-18109 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/03\/Sms-Eng-06-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/03\/Sms-Eng-06-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/03\/Sms-Eng-06-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/03\/Sms-Eng-06-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/03\/Sms-Eng-06.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p><strong>Action Name:<\/strong>\u00a0Send Sms<\/p>\n<p><strong>Action Type:<\/strong>\u00a0Execute Print Job<\/p>\n<p><strong>Print Job Name:<\/strong>\u00a0SendSms<\/p>\n<p>After completing necessary editings, click on <strong>Save<\/strong> button.<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 14pt;\"><strong>7. Adding Rule<\/strong><\/span><\/p>\n<p><strong>Main Menu &gt; Manage &gt; Automation &gt; Rules &gt; <\/strong>here click on<strong> Add Rule.<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-18111 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/03\/Sms-Eng-07-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/03\/Sms-Eng-07-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/03\/Sms-Eng-07-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/03\/Sms-Eng-07-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2019\/03\/Sms-Eng-07.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p><strong>Rule Name:<\/strong>\u00a0SendSms<\/p>\n<p><strong>Event Name:<\/strong>\u00a0Automation Command Executed<\/p>\n<p><strong>Execute Rule If:<\/strong>\u00a0Matches<\/p>\n<p><strong>Add Custom Constraint:<\/strong><\/p>\n<p>Automation Command Name|Equals|Sms<\/p>\n<p><strong>Select Action:<\/strong><\/p>\n<p><strong>Action: Send Sms<\/strong><\/p>\n<p><strong>Constraint:<\/strong> Blank<\/p>\n<p><strong>Async:<\/strong>\u00a0Must be selected.<\/p>\n<p>After completing necessary editings, click on <strong>Save<\/strong> button.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this document, it will be explained how to setup SMS Sending Implementation for SambaPOS. &nbsp; 1. Setup of the API URL Edit the URL that was provided by the Operator, according to below line. http:\/\/api.center.com\/v1\/send-sms\/get\/?username=username&amp;password=password&amp;text=@message@&amp;receipents=@number@&amp;sender=Company Name &nbsp; &nbsp; 2. Adding Printer Main Menu &gt; Manage &gt; Printing &gt; Printers &gt; here click on Add [&hellip;]<\/p>\n","protected":false},"author":11,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-18082","post","type-post","status-publish","format-standard","hentry","category-customization"],"_links":{"self":[{"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/posts\/18082","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/comments?post=18082"}],"version-history":[{"count":5,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/posts\/18082\/revisions"}],"predecessor-version":[{"id":18113,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/posts\/18082\/revisions\/18113"}],"wp:attachment":[{"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/media?parent=18082"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/categories?post=18082"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/tags?post=18082"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}