SOLVED - Paypal Error

  • Posts: 33
  • Thank you received: 2
13 years 8 months ago #12226

I got this error at check out.

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.


Do you think this is a problem with my HikaShop Configuration or something at PayPal

Last edit: 13 years 7 months ago by dniezby.

Please Log in or Create an account to join the conversation.

  • Posts: 5
  • Thank you received: 0
13 years 8 months ago #12228

maybe you need to configure your paypal plugin with your own merchant account. can you tell us more specific what the problem is?

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
13 years 8 months ago #12240

Please Log in or Create an account to join the conversation.

  • Posts: 33
  • Thank you received: 2
13 years 8 months ago #12245

Ok, now this has confused me even more.

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
13 years 8 months ago #12250

What do you mean? Did you try the solution proposed ( to switch the override flag in the paypal plugin file ) ?

Please Log in or Create an account to join the conversation.

  • Posts: 33
  • Thank you received: 2
13 years 8 months ago #12258

What flag? I don't seem to have any flag in my module?

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
13 years 8 months ago #12264

I mean to add the line: $vars["address_override"]='0'; in the file paypal_end.php like explained in the link I gave in my previous post:
www.hikashop.com/en/support/forum/4-how-...pal-error.html#10146

Please Log in or Create an account to join the conversation.

  • Posts: 33
  • Thank you received: 2
13 years 7 months ago #12313

I'm sorry. I was adding the variable to the wrong paypal_end.php

It's working now. Thanks.

Please Log in or Create an account to join the conversation.

  • Posts: 41
  • Thank you received: 0
13 years 2 months ago #24824

Hmmm... having the same problem, but the solution did nothing -- see "IS THIS THE RIGHT PLACE?" in my code below:

//<*php
			foreach( $vars as $name => $value ) {
				echo '<input type="hidden" name="'.$name.'" value="'.htmlspecialchars((string)$value).'" />';
			}
			$doc =& JFactory::getDocument();
			$doc->addScriptDeclaration("do_nothing( function() {document.getElementById('hikashop_paypal_form').submit();});");
			JRequest::setVar('noform',1);
			$vars["address_override"]='0'; // IS THIS THE RIGHT PLACE?
		//*>
	</form>
</div>

I also tried making sure PayPal address and my HikaShop Customer addresses (both billing and shipping) all matched...
But still get the error.

I do notice that PayPal using only "United States" not "United States of America" -- so I updated that... no change. I still see this error:

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.

Last edit: 13 years 2 months ago by cubefree.

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
13 years 2 months ago #24825

That's not the right place. You need to put it BEFORE the line:
foreach( $vars as $name => $value ) {

Please Log in or Create an account to join the conversation.

  • Posts: 41
  • Thank you received: 0
13 years 2 months ago #24827

That worked!

Please Log in or Create an account to join the conversation.

Time to create page: 0.094 seconds
Powered by Kunena Forum