Prev | Current Page 356 | Next

Emilian Balanescu and Cristian Darie

"Beginning PHP and MySQL E-Commerce: From Novice to Professional, Second Edition"

In the
second phase of development, after you create your own shopping cart, you??™ll need to rely only
on PayPal??™s checkout mechanism.
To accept payments, you need to add two important elements to the user interface part of
the site: Add to Cart buttons for each product and a View Cart button somewhere on the page.
PayPal makes adding these buttons a piece of cake.
The functionality of these buttons is performed by secure links to the PayPal web site,
which can be implemented as either forms or specially crafted URLs. Let??™s take a look at both
methods. The following is an example of using forms that represent the Add to Cart button for
a product named Mistletoe T-Shirt that costs $17.99:
method="post">







344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368
bilety lotnicze Noclegi Władysławowo koszule korporacyjne Apartamenty nad morzem online loan for bad credit