Yes it looks like the 5 digit ordered from the DB table is pushing the whole order number out of sync, so I think it is a bug with the order number, but I not sure why it would stop your IPN from paypal working?
I've just had a look at the paypal gateway and it does create the order assuming it's 4 digits, but this should just be a display issue.
I see in the paypal gateway a dependency on the ordered...
The paypal gateway supports a logging file..
UpdateLog("PayPal URL = " & payPalURL)
I suggest you look at the portal folder for the log file related to the IPN send and return and see if you can get any other information from them, also look at you DNN event logs for the time of the order and see if your getting any errors.
I've just had a look at the paypal gateway and it does create the order assuming it's 4 digits, but this should just be a display issue.
I see in the paypal gateway a dependency on the ordered...
payPalURL += "&item_number=" & HTTPPOSTEncode(oInfo.OrderID.ToString)
But this should simply be the 5 digit ordered number you system is generating and should not have an effect on the IPN, unless paypal have a limit of 4 digits for the item_number, which I find impossible to believe!The paypal gateway supports a logging file..
UpdateLog("PayPal URL = " & payPalURL)
I suggest you look at the portal folder for the log file related to the IPN send and return and see if you can get any other information from them, also look at you DNN event logs for the time of the order and see if your getting any errors.