Magento: Paypal payment background settings and troubleshooting errors

Source: Internet
Author: User

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 !!

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.