* @copyright 2007-2013 PrestaShop SA * * International Registered Trademark & Property of PrestaShop SA * * Description: PayPal "Payments Standard" and PayPal "Payments Advanced" controller * * PayPal Payments Standard principles: * * Step 1: On the payment page/step, the customer is clicking on the PayPal button which is transmitting a form to PayPal * Step 2: All the order's parameters are sent to PayPal including the billing address to pre-fill a maximum of values/fields for the customer * Step 3: On PayPal, the customer can proceed to his/her payment by using his/her PayPal's credentials or by entering a new credit card * Step 4: The transaction success or failure is sent to you by PayPal using the PayPalUSAValidationModuleFrontController controller (Method _paymentStandard()) * This step is also called IPN ("Instant Payment Notification") * Step 5: The customer is seeing the payment confirmation on PayPal and is redirected to his/her "Order history" page ("My account" section) * * PayPal Payments Advanced principles: * * Step 1: As a merchant, you have to create a PayPal Manager account at https://manager.paypal.com/ * Step 2: You also have to sign up for PayPal Payments Advanced and a gateway (either PayFlow Link or PayFlow Pro) * Step 3: In the PayPal Manager, enable the Hosted Page Checkout and the "Secure token" option * Step 4: Configure this Addon in the Back-office with your credentials for the PayPal Manager * Step 5: On the payment page, the Addon will display an