close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Enabling USPS Causes Checkout Error

Thread began 6/25/2016 9:43 am by mrobben375515 | Last modified 6/28/2016 1:46 pm by Ray Borduin | 157 views | 6 replies |

mrobben375515

Enabling USPS Causes Checkout Error

I have a Power Store. When I enable the USPS shipping, the user is getting an error:

Transaction Not Completed
We're sorry. Your transaction could not be completed. Either your credit card information or billing address has problems and cannot be processed
Please return to checkout and try again.

When I do not enable this, the checkout works fine. Apparently there is an authentication error with USPS's API. Can you help me please? Attached are the credentials you will need.

Sign in to reply to this post

Ray BorduinWebAssist

I enabled shipping and it gave me a rate. What did you have in your cart at the time? Please try again. I added debug information to the failure page we can use to diagnose the cause when it happens again.

Sign in to reply to this post

mrobben375515

I see the debug you inserted. When I disable the USPS integration, my credit card goes through fine. But when I enable the API, I get the error below when I checkout buying a Nike Dri FIT Golf Shirt for$53.00 Size: Men - Small Color: : White is as follows:

We're sorry

Your transaction could not be completed. Either your credit card information or billing address has problems and cannot be processed

Please return to checkout and try again.

Sign in to reply to this post

Ray BorduinWebAssist

The error is:

The requested Mail Service is only available when Ground Transportation is required, when the Zone is 5-9, or the mail piece is Oversized

Which explains why it worked for me. I'll look into it further now using your address.

Sign in to reply to this post

Ray BorduinWebAssist

You have the default mail type set to "First Class" and first class mail is only available for packages under 13oz.... The code detects that and sets the mail type to "PARCEL" when it is oversized for first class and first class is selected. Well it turns out that PARCEL also has restrictions as identified in the error message.

I've updated the code to use "PRIORITY" when first class is selected and not available. That is the standard USPS mail type and it should be available everywhere.

Sign in to reply to this post

mrobben375515

Thank you Ray! It works great. I have a PS 4.5 cart that I will be using USPS with. Is there some edits I should apply to that site also to address this USPS issue?

Sign in to reply to this post

Ray BorduinWebAssist

You can update the WA_eCart/WA_eCart_USPS_PHP.php file. However another solution would be to simply choose "PRIORITY" instead of "FIRST CLASS" as your mail type, since I don't think you have items under 13oz in your store anyway.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...