lib.php file.
Chapter 8
[ 145 ]
8. That's all! We are set with PayPal integration now. The following figure
shows how a customer may experience this process.
How Does This Work?
As depicted in the previous figure, the customer is redirected to PayPal after we get
the token. Here, she can login with her PayPal email and password. If she or he has
used PayPal for mobile payments earlier, and activated her mobile number, she can
login with the mobile number and PIN only. If not, she gets the option to set them
up in the next screen. She or he can then review the payment information and make
payment. If the customer does not have a PayPal account, she or he can still pay
using a credit card or bank account without needing to log in. PayPal sends an SMS
confirmation to activate the phone number.
Once the payment is done, the user is brought back to merchant site (POTR), and we
can validate the information received to show a confirmation message.
This process is similar to standard web checkout systems, and customers are
receptive to it. The money gets debited from their Paypal account or credit card.
The merchant gets the money in his or her PayPal account and can use the standard
withdrawal process to get it to his or her bank account.
Pages:
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194