PayPal error: incorrectly formatted postage amount

Oct 26, 2009 at 12:59 PM

When I select "Ship the order to the billing address", I get this error when it redirects to PayPal

The link you have used to enter the PayPal system contains an incorrectly formatted postage amount.

When I select no shipping, the transaction works perfectly.

 

 

 

 

 

 

 

 

 

 

Coordinator
Oct 26, 2009 at 2:30 PM

I'm unsure what could be causing this, I certainly have not had any problems with the paypal gateway.

Can you find out any more details??

Regards,

Dave.

Oct 26, 2009 at 10:39 PM

Hi Lee,

I added a shipping template and with some a price and it worked ok.

However, I noticed when looking at the Order History and the “Your order has been validated.” email,  there is no order number generated. Do you know why?

All payments are through PayPal.

Thanks,

Tony.

From: leedavi [mailto:notifications@codeplex.com]
Sent: Tuesday, 27 October 2009 12:30 AM
To: tony@webcloudsolutions.net
Subject: Re: PayPal error: incorrectly formatted postage amount [NBStore:73088]

From: leedavi

I'm unsure what could be causing this, I certainly have not had any problems with the paypal gateway.

Can you find out any more details??

Regards,

Dave.

Read the full discussion online.

To add a post to this discussion, reply to this email (NBStore@discussions.codeplex.com)

To start a new discussion for this project, email NBStore@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe on codePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com

Coordinator
Oct 27, 2009 at 9:06 AM

Hi Tony,

Have all the orders got an order number?

If yes, then I tink it must be the Validation template doesn't display the [TAG:ORDERNUMBER].

If No, then the paypal is not passing back the OrderID in the url, also check you got the paypal IPN working. (It should work without, but it's best to use it!).

Regards,

Dave.

Oct 29, 2009 at 1:51 AM

The number is missing from the email and the order history – so yes all orders are missing the order number.

Does that mean the Validate template needs modifying? I thought this would be a standard field..

Also, how can I factor in shipping to different states within the country? Because the price will change based on the distance..

Thanks,

Tonhy.

From: leedavi [mailto:notifications@codeplex.com]
Sent: Tuesday, 27 October 2009 7:07 PM
To: tony@webcloudsolutions.net
Subject: Re: PayPal error: incorrectly formatted postage amount [NBStore:73088]

From: leedavi

Hi Tony,

Have all the orders got an order number?

If yes, then I tink it must be the Validation template doesn't display the [TAG:ORDERNUMBER].

If No, then the paypal is not passing back the OrderID in the url, also check you got the paypal IPN working. (It should work without, but it's best to use it!).

Regards,

Dave.

Read the full discussion online.

To add a post to this discussion, reply to this email (NBStore@discussions.codeplex.com)

To start a new discussion for this project, email NBStore@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe on codePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com

Coordinator
Oct 29, 2009 at 2:19 AM

Hi Tony,

Souns like your missing the OrderID from the return URL, make sure your return URL's in the "paypal.gateway" setting look something like this.

<ReturnURL>http://www.MyWebsite.com/Cart/tabid/56/stg/5/ordID/[ORDERID]/Default.aspx?PayPalExit=RETURN</ReturnURL>
<ReturnCancelURL>http://www.MyWebsite.com/Cart/tabid/56/stg/5/ordID/[ORDERID]/Default.aspx?PayPalExit=CANCEL</ReturnCancelURL>

 

The "ordID/[ORDERID]" is the important thing to note.

On the shipping to different states, you'll have to made each state work like a country, add the states to your DNN list and then to the country.list setting, you'll then be able to place different shipping rates on them.

Regards,

Dave.

 

Oct 30, 2009 at 1:35 AM

Thanks Lee!

The URL returned was /Thankyou/tabid/63/ordID/1045/Default.aspx?PayPalExit=RETURN

However, when I go to the Order History page, order number 1045 is not registered next to the order.

For shipping, whats the name of the DNN list?

Regards,

Tony.

Coordinator
Oct 30, 2009 at 9:12 AM

Sounds like you've not got you paypal IPN working, make sure you've turned this on, however I would still expect it to update on the normal return (although this isn;t as secure!).

Do a search of the NB_Store codeplex discussions, there are some threads that have simular problems, reading them may help.  Let me know how you get on.

On shipping, it's in the documentation.html, here's the extract:

Country Lists

The country lists displayed throughout the store have been designed to default to a DNN list called "StoreCountry.(CountryCode)"  if no list by this name exists in the store then the DNN "Country" list is used. Also if you enter a "country.list" in the store settings, only the countries in the "country.list" will be displayed in the dropdown. The names in the "country.list" must match the names in the DNN list used in order to be displayed.

 

Regards,

Dave.

Oct 30, 2009 at 2:17 PM

That did not work either L

Here are my PayPal settings:

<root>

        <paymentURL>https://www.paypal.com/xclick</paymentURL>

        <verifyURL>https://www.paypal.com/cgi-bin/webscr</verifyURL>

        <PayPalID>myUser@hotmail.com</PayPalID>

        <CartName>CartName</CartName>

        <ButtonImageURL>http://www.mindfield-biosystems.com/pic/paypal_logo.jpg</ButtonImageURL>

        <Currency>AUD</Currency>

        <ReturnURL>http://MySite.com/Thankyou/tabid/63/stg/5/ordID/[ORDERID]/Default.aspx?PayPalExit=RETURN</ReturnURL>

        <ReturnCancelURL>http:// MySite.com /Catalogue/tabid/60/stg/5/ordID/[ORDERID]/Default.aspx?PayPalExit=CANCEL</ReturnCancelURL>

        <ReturnNotifyURL>http:// MySite.com /Catalogue/tabid/60/stg/4/Default.aspx</ReturnNotifyURL>

</root>

I have also enabled IPN in PayPal and used the URL: http:// MySite.com /Catalogue/tabid/60/stg/4/Default.aspx

According to all the threads i’ve read, this is all that needs to be configured... However, no order number..

Thanks,

Tony.

Coordinator
Oct 30, 2009 at 2:22 PM

Hi Tony,

The Return tab must have the checkout module on it?

I see from your URL's you have two tabs to return too..tab63 and tab60...does the checkout module exist on both tabs??

Regards,

Dave.