Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Add this to paypal


Guest

Recommended Posts

Hello,

 

I found this to be helpful in paypal prrocessing. I had a porblem that a customer did NOT change the shipping address in the osc part of my web site and when they got to pay pay processing. The paypal software offered the ability to have an alternative shipping address. So what happened is ocs said

 

shipping to X

billing to X

customer X

 

and the paypal confirmation i recevied said

 

customer X

shipping Z

 

that's were the problems start. I never checked the paypal shipping before sending out the products....

 

 

So I added this line of code to the paypal.php modules.

 

tep_draw_hidden_field('no_shipping', '1')

 

 

in this code block

 

$process_button_string = tep_draw_hidden_field('cmd', '_xclick') .

tep_draw_hidden_field('business', MODULE_PAYMENT_PAYPAL_ID) .

tep_draw_hidden_field('item_name', STORE_NAME) .

tep_draw_hidden_field('no_shipping', '1') .

 

This will turn off the option that allows the customer on paypals site to use alternative shipping address'. Hope this helps..

Link to comment
Share on other sites

  • 3 years later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...