Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

paypal advanced paypal payflow


Guest

Recommended Posts

I saw this bug too. I changed the following code in order to send the state abbreviations instead of letting Paypal truncate the full state name to two letters (i.e "Georgia" becomes "Ge"). There may be a better way but this seems to work perfectly...

 

in catalog/includes/modules/payment/paypal_payflow_link.php near line 100 change the following

 

. "&BILLTOSTATE=" . $order->customer['state']

to

//MODIFIED TO SEND STATE ABBREVIATION TO PAYPAL
//. "&BILLTOSTATE=" . $order->customer['state'] ORIGINAL CODE
. "&BILLTOSTATE=" . tep_get_zone_code($order->customer['country']['id'], $order->customer['zone_id'], $order->customer['zone_name'])
//MODIFIED TO SEND STATE ABBREVIATION TO PAYPAL

 

And

 

. "&SHIPTOSTATE=" . $order->delivery['state']

to

//MODIFIED TO SEND STATE ABBREVIATION TO PAYPAL
//. "&SHIPTOSTATE=" . $order->delivery['state'] ORIGINAL CODE
. "&SHIPTOSTATE=" . tep_get_zone_code($order->delivery['country']['id'], $order->delivery['zone_id'], $order->delivery['zone_name'])
//MODIFIED TO SEND STATE ABBREVIATION TO PAYPAL

 

Also, I installed the DHTML State Selection for 2.3.1 to make sure customers pick/spell States correctly. You can find it here http://addons.oscommerce.com/info/8028

Edited by natewyckoff
Link to comment
Share on other sites

  • 2 years later...

Hi.
I've some error

Some required information is missing or incorrect. Please correct the fields below and try again.

  • Error: Invalid Merchant or Merchant doesn't exist!
     

I can't find  Admin > Configuration > My Store page.
Pls help me.

Thanks
Suren

Link to comment
Share on other sites

Since 2012 PayPal have many changes. Can you say where is Admin > Configuration > My Store page  now

I have encountered this same problem, I am using Paypal's Layout C. I fixed the issue by going to Admin > Configuration > My Store and changed the "Display Prices with Tax" to true. When set to true the problem resolved, when set to false the error message displays.

Edited by Suren
Link to comment
Share on other sites

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