Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Unable to process payment. Shipping address provided by the merchant is invalid


kv.gokul

Recommended Posts

you need to set the Payment Zone settings to --none-- instead of country.

Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!

8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.

Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.

Any issues with oscommerce, I am here to help you.

Link to comment
Share on other sites

Ya i already set like that. The settings are below.

 

Enable PayPal Website Payments Standard

Do you want to accept PayPal Website Payments Standard payments?

 

True

 

E-Mail Address

The PayPal seller e-mail address to accept payments for

 

Payment Zone

If a zone is selected, only enable this payment method for that zone.

--none--

 

Set Preparing Order Status

Set the status of prepared orders made with this payment module to this value

[PayPal Standard]Processing

 

Set PayPal Acknowledged Order Status

Set the status of orders made with this payment module to this value

default

 

Gateway Server

Use the testing (sandbox) or live gateway server for transactions?

 

Live

 

 

Transaction Method

The processing method to use for each transaction.

 

Sale

 

 

Page Style

The page style to use for the transaction procedure (defined at your PayPal Profile page)

 

Debug E-Mail Address

All parameters of an Invalid IPN notification will be sent to this email address if one is entered.

 

Sort order of display.

Sort order of display. Lowest is displayed first.

 

Enable Encrypted Web Payments

Do you want to enable Encrypted Web Payments?

 

False

Link to comment
Share on other sites

  • 3 months later...
  • 1 month later...

mine is not live so far, just in testing mode (sandbox) but I'm experiencing same error as well:

 

Unable to process payment. Please contact the merchant as the shipping address provided by the merchant is invalid, and the merchant has requested that your order must be shipped to that address.

 

Same error when I used Paypal IPN and Enable PayPal Website Payments Standard....

 

Help please :(

Edited by mylane

Birds with same feathers, are same birds.

Link to comment
Share on other sites

  • 2 weeks later...

I was having this same problem:

 

just go to:

 

/catalog//includes/modules/payment/paypal_standard.php

 

and delete this line:

around line 256

 

$parameters['address_override'] = '1';

 

and that's it!

 

PayPal Option Payment will show up!

 

Hope this is helpful!

 

- Carlos

- Carlos

Link to comment
Share on other sites

  • 4 weeks later...

I deleted this as suggested and then i got a parsing error in admin.. so i set it to

 

$parameters['address_override'] = '0';

 

I was having this same problem:

 

just go to:

 

/catalog//includes/modules/payment/paypal_standard.php

 

and delete this line:

around line 256

 

$parameters['address_override'] = '1';

 

and that's it!

 

PayPal Option Payment will show up!

 

Hope this is helpful!

 

- Carlos

Link to comment
Share on other sites

  • 3 months later...

t says shipping address provided by merchant is invalid.

 

make sure that the store owner location(used for ship from) is proper.

 

A blank or a wrong address will result in this.

 

Thru admin store config this can be handled.

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Link to comment
Share on other sites

Found the solution: By default the state field in the customer parameters section is off. So no state info is provided to paypal. Make the state required for customer registrations and this error will go away.

 

 

t says shipping address provided by merchant is invalid.

 

make sure that the store owner location(used for ship from) is proper.

 

A blank or a wrong address will result in this.

 

Thru admin store config this can be handled.

 

Satish

Link to comment
Share on other sites

good to know You got the solution.

Also was nice to see that You posted the solution.

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Link to comment
Share on other sites

I have this problem too on a live site, but the PayPal payment processing works fine for UK addresses - it is only that customer trying to place an order from the US has received the error message from PayPal re. invalid address. I figured it had to be a problem in the way the information was being passed to PayPal.

 

I tried all of the above solutions and the only one which worked was the code change

$parameters['address_override']='0'

Link to comment
Share on other sites

Make sure US state is posted along with the address where goods are to be delivered.

 

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Link to comment
Share on other sites

  • 1 month later...

This is the solution.

 

If you make the state like true, you will get this error with people from France and others contry, if you put it False you will get this error with many other country so the solution is put the State like False in

 

Configuration - Customer Details - State and set it to False them go to

 

/catalog//includes/modules/payment/paypal_standard.php

 

and this line:

around line 256

 

$parameters['address_override'] = '1';

 

Set 1 to 0 and upload the file and will work with all countries now.

Link to comment
Share on other sites

  • 2 months later...

Here's what worked out in my case:

 

(around line 299 on /catalog/includes/modules/payment/paypal_standard.php)

 

$parameters['address_override'] = '1';

$parameters['first_name'] = $order->delivery['firstname'];

$parameters['last_name'] = $order->delivery['lastname'];

$parameters['address1'] = $order->delivery['street_address'];

$parameters['city'] = $order->delivery['city'];

$parameters['state'] = tep_get_zone_code($order->delivery['country']['id'], $order->delivery['zone_id'], $order->delivery['state']);

$parameters['zip'] = $order->delivery['postcode'];

$parameters['country'] = $order->delivery['country']['iso_code_2'];

 

In my case, OsCommerce was sending $parameters['country_code'] and that was breaking PayPal. Acording to PayPal's documentation, it needs to be $parameters['country'].

 

Thiago

 

This is the solution.

 

If you make the state like true, you will get this error with people from France and others contry, if you put it False you will get this error with many other country so the solution is put the State like False in

 

Configuration - Customer Details - State and set it to False them go to

 

/catalog//includes/modules/payment/paypal_standard.php

 

and this line:

around line 256

 

$parameters['address_override'] = '1';

 

Set 1 to 0 and upload the file and will work with all countries now.

Link to comment
Share on other sites

  • 4 weeks later...
  • 2 weeks later...

I had the same problem this a.m. Discovered that the customer had entered "Va Beach" for city. When I changed the city in his account to "Virginia Beach" it works properly.

 

Even though I had changed the minimum value from 3 to 2 in my admin/configuration/city, for some reason it would still not go thru. I don't know what the hang up is, but it has something to do with the length of this field.

 

 

 

 

 

 

For anyone who is still having this problem after trying all of the above solutions: make sure that you're passing the state abbreviation rather than the name.

 

More information:

http://www.magentocommerce.com/boards/viewthread/26109/#t193248

Link to comment
Share on other sites

  • 2 months later...

Here's what worked out in my case:

 

(around line 299 on /catalog/includes/modules/payment/paypal_standard.php)

 

$parameters['address_override'] = '1';

$parameters['first_name'] = $order->delivery['firstname'];

$parameters['last_name'] = $order->delivery['lastname'];

$parameters['address1'] = $order->delivery['street_address'];

$parameters['city'] = $order->delivery['city'];

$parameters['state'] = tep_get_zone_code($order->delivery['country']['id'], $order->delivery['zone_id'], $order->delivery['state']);

$parameters['zip'] = $order->delivery['postcode'];

$parameters['country'] = $order->delivery['country']['iso_code_2'];

 

In my case, OsCommerce was sending $parameters['country_code'] and that was breaking PayPal. Acording to PayPal's documentation, it needs to be $parameters['country'].

 

Thiago

 

Thanks for all your support :)

It's working absolutely fine.

 

Giyassuddin

Edited by giyassuddin
Link to comment
Share on other sites

  • 8 months later...

Unable to process payment. Please contact the merchant as the shipping address provided by the merchant is invalid, and the merchant has requested that your order must be shipped to that address." how to sort these guys. please help me.

 

 

I am getting this error as well but I have Pay Without Account added.

 

The state field is not there and I think that might be what is missing.

 

Does anyone know how I would add the statefield when someone is trying to Pay Without Account?

 

*By the way, it works fine when someone tries to pay using an account- they state field is there.

 

Here is my website

https://store.helpingamericans.org

 

Any help would be GREATLY appreciated!

Link to comment
Share on other sites

  • 4 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...