Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PayPal payments getting incorrect shipping charge


Guest

Recommended Posts

Regardless of the correct UPS shipping charges in the OSC checkout process, once one enters the paypal screen, Shipping is $5.99 no matter what the item's weight, tare weight, or shipping method is. How would I go about fixing this? I've searched the forums a bit to no avail. I looked at the generated paypal URL, and shipping is in fact the correct amount in the URL; is this an issue on my side, or PayPal?

 

Try it for yourself with this test product: http://www.mattmasonms.com/catalog/product...products_id=158

 

Here's the paypal page it generates with 2 x test product, shipping total is supposed to be $11.72, reflected in the URL, but as you can see it shows up as $5.99

https://www.paypal.com/cgi-bin/webscr?amoun...php&cmd=_xclick

 

The store isn't done or live yet, so please excuse the default OSC graphics in a few places :)

Link to comment
Share on other sites

This sounds to me like a paypal conflict. Check your PayPal profile and shipping preferences. Turn off any shipping you have in there as it may be conflicting with the website osc settings.

 

If that is not it, check your shipping configuration and make sure you do not have flat rat shipping enabled at $5.99. This may also override the shipping charges.

 

Hope this works.

Link to comment
Share on other sites

It's not an issue with any settings I can find.

 

I just went and tried again, now no shipping charges are showing up at all, leaving the total in the paypal screen less than the OSC check out.

Link to comment
Share on other sites

OK, here's something interesting, the paypal url is:

 

https://www.paypal.com/cgi-bin/webscr?amount=779%2e40&x=35&y=10&return=http%3a%2f%2fwww%2emattmasonms%2ecom%2fcatalog%2fcheckout_process%2ephp&shipping=18%2e05&currency_code=USD&item_name=Triple%20M%20Racing&business=Gimpy987%40comcast%2enet&cancel_return=http%3a%2f%2fwww%2emattmasonms%2ecom%2fcatalog%2fcheckout_payment%2ephp&cmd=_xclick

 

When I change the currency in the url from USD to GBP or AUD or JPY or anything else for that matter, the shipping shows up fine and the order total is correct. I fail to see any obvious explanation for this, any ideas?

Link to comment
Share on other sites

It looks like this is an issue on PayPal's side, however one would think that by now it wo0uld be fixed as hundreds of people would be very angry about it. The link works fine with any other currency, so I just can't see how it's an issue, with OSC, what am I missing here?

Link to comment
Share on other sites

Well I've got a temporary fix in place, the shipping still shows up as 0.00, but the order total is correct now. I simply delted the part that subtracted shipping from amount before generating the paypal URL.

 

The code now looks like this, with shipping removed completely from the picture:

$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('amount', number_format(($order->info['total']) * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency))) .
						   tep_draw_hidden_field('currency_code', $my_currency) .
						   tep_draw_hidden_field('return', tep_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL')) .
						   tep_draw_hidden_field('cancel_return', tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL'));

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