Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

In April of 2011, I upgraded to USPS methods 5.2.1. This new version had a check box to add 19 cents to First Class and Parcel Post shipping costs (to handle the delivery confirmation charge that PayPal forces).

 

I just realized yesterday that the 19 cents is not being added. I am almost positive that I tested the feature when I did the upgrade. I had made a change on the older version that I was running that handled adding the 19 cents after the response from the post office.

 

Can someone tell me why this has stopped working. I don't see the 19 cents coded anywhere so I am asuming that it supposed to be part of the response from the post office.

 

Any help will be greatly appreciated.

 

V J

-- A ship in a harbor is safe, but that is not a ships ultimate purpose.

Posted

I turned on the email diagnostic and found the problem.

 

The usps.php file had the following code:

 

if ((MODULE_SHIPPING_USPS_DMST_DEL_CONF == 'True') && (preg_match('/<\/ServiceName><Available>true<\/Available><AvailableOnline>true<\/AvailableOnline><Price>0.80<\/Price><PriceOnline>/', $response[$i])))

{ $del_conf = ereg('</ServiceName><Available>true</Available><AvailableOnline>true</AvailableOnline><Price>0.80</Price><PriceOnline>(.*)</PriceOnline>', $response[$i], $regs);

 

The post office apparently raised the not-online price from 0.80 to 0.85. I changed it from 0.80 to 0.85 and it is

again working perfectly.

 

Sorry for the trouble but maybe it will help someone else.

V J

 

 

 

 

In April of 2011, I upgraded to USPS methods 5.2.1. This new version had a check box to add 19 cents to First Class and Parcel Post shipping costs (to handle the delivery confirmation charge that PayPal forces).

 

I just realized yesterday that the 19 cents is not being added. I am almost positive that I tested the feature when I did the upgrade. I had made a change on the older version that I was running that handled adding the 19 cents after the response from the post office.

 

Can someone tell me why this has stopped working. I don't see the 19 cents coded anywhere so I am asuming that it supposed to be part of the response from the post office.

 

Any help will be greatly appreciated.

 

V J

-- A ship in a harbor is safe, but that is not a ships ultimate purpose.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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