paypal wrong order# showing
Posted: Thu Apr 16, 2009 6:34 pm
On paypals site it is showing the order ID as the order number instead of the order number. Where can this be fixed at?
It looks like the PayNow Button is wrong, line 85 of the PayNowButton.cs code:
sb.Append("<input type=\"hidden\" name=\"item_name\" value=\"Order
No: " + button.Order.OrderId.ToString() + "\">");
Line 589 of PayPalProvider.cs:
oPaymentDetails.OrderDescription = "Order No: " +
order.OrderId.ToString();
Line 1333 of PayPalProvider.cs:
paymentDetails.OrderDescription = "Order #" + orderId.ToString();
I think all three of these locations should be updated to use order number.
For sake of consistency, change "Order No:" to "Order #" for the first two
locations as well.
I did a search in the provider solution for OrderId. It appears PayPal is the
only payment provider using OrderId incorrectly.