Along with the keyword, it will also have order information. The item code
and quantity in our case.
The network operator will deliver the message to the SMS Gateway, or Short
Code Service Provider.
The SMS Gateway will make an HTTP GET/POST request to POTR and pass
on the entire message, along with the sender information.
POTR can now process the order the way it wants. In our case, Luigi'll call
back and confirm the order and take the address of the customer!
??? ??? ??? ??? ??? ??? ???
Chapter 8
[ 151 ]
The customer is charged a premium fee for sending the message. POTR gets
charged for SMS Gateway services and short code provisioning.
POTR also takes care of order fulfillment. The customer will get a hot pizza
in the next half an hour!
Let's look closer at two components of this flow: Receiving Messages and
Short Codes.
Receiving Text Messages
We have seen how we can send messages using an SMS Gateway in Chapter 6.
The process is as simple as making an HTTP request to the gateway-provided URL
with certain parameters. But when we want to receive text messages, the job gets a
little complicated.
To receive messages, we need a number that people can send messages to and then,
a system that will receive and read messages sent to that number.
Pages:
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203