Magento integrates the PayPal function and background settings:
1
System-> config-paypel
Go:
1.1Merchant country
Set country
1.2 email associated with Paypal
Set Account
1.3 select a PayPal Solution
1.4 selected
Website payments standard
-PayPal processes all of your orders, and you get paid.
Hook the front, and remove other hooks.
1.5
In the following section, open the website payment standard setting point.
1.5.1
Payment action --> sale
1.5.2
Payment applicable from-> all countries
1.5.3
Sandbox mode-> NO
1.5.4
Transfer cart line items -- yes
1.5.5
Debug mode --> NO
2
OK is set in the background. Click OK and refresh the cache to pay for it.
However, there may be some problems, because we like to fill out some random addresses during the test, so there will be an error during the test:
Payment cannot be processed. Because the shipping address provided by the merchant is invalid and the Merchant requires that your order be sent to this address, please contact the merchant.
Haha !!
Check the Internet:
If you are using web payment standard, findPayPal/mode/standard. php
Which Contains 'address _ override' = 1. This line is changed to 'address _ override' = 0, which is roughly in the 158 rows.
But I am using 1.4.2. This file does not exist.
If you want to search for ddress_override, use DW to search all the files in the app folder and find my settings.
APP/code/CORE/MAGE/PayPal/model/API/standard. php
237 rows
$ Request ['address _ override'] = 1;
Set this value to 0. OK !!
If you enter a fake address, you can jump to it !!