Well I got Sage Pay to work on a test website - but when customers go to checkout:
The description is missing in PayPal - of a product
Any ideas ?
SagePay - the description is just the Vendor description - but i need to add a Short description of the product to this -
Line 101 cryptBuilder.AppendFormat("&Description={0}", vendorDescription); // ** Up to 100 chars of free format description **
Tried to write over the Vendor description with the product description wording - and WORKed with a duplicate Order Price
cryptBuilder.AppendFormat("&Description={0}", order.OrderTotal); // ** works displays ORDER TOTAL on Sage Pay**
file: SagePayPaymentProcessor.cs
Any ideas would be great - have tired a few times... with cryptBuilder.AppendFormat("&Description={0}", order.OrderProductVariants); and get the message on SagePay System.Collections.Generic.List`1[NopSolutions.NopCommerce.BusinessLogic.Orders.OrderProductVariant]
is still the problem i am having - have tired all day on sunday to get a Description to write to the SagePay or PayPAL... With no success... Looking at it there is a LIST<> in the error i had on the SagePay test server - writes to it with a line...
Any advice would be great or code in helping me and the nop community...
Has anyone had trouble with the PayPAL description on there Nop (i currently use 1.9)
cryptBuilder.AppendFormat("&Description={0} {1}", "Your Store - order id:", order.OrderId);
Well this worked for a few minutes - tired to add product to the cart and in SagePay displays...
Your Store - order id: 20
But a few minutes ago tested on a live DEMO site and get a 4001 error the VendorTxCode --- So saying that the code is incoreect and already have orders in with a low number...?
Sorry but still no coding for the Description sending to SagePay or a PayPAL Express button.... fingers crossed for later
when on the phone with SagePay and all your info will be sent to them... a good test...
No spaces - in your code as it will add a space in the sending over stage..! cryptBuilder.AppendFormat("VendorTxCode={0}",order.OrderId.ToString());
I have gone for this so far... Remember to change the My Website... cryptBuilder.AppendFormat("&Description={0} {1}", "My Website - Order ID:", order.OrderId); Will add on the SagePay page - My Website - Order ID: 300
We still keep on phone / development of SagePay - Some of my other description might not be there because using a discount code and you only pay the postage - currently working on a search button on the Discount page...
Hopefully this might help someone - using Nop 1.9 SagePay - out of the box...!
This worked - getting the payment to the SagePAY gateway - ABC100001 (in SagePay)
* But problems going to the SagePaySuccess webpage and ADMIN see the payment as Processing - this should be PAID...?
/ Error is in the wrong input string - this must be because of the extra (3) characters in VendorTxCode
So in the C# page - How to get the VendorTxCode with Removed 3 characters
Original: Line 51 string VendorTxCode = decryptedDict["VendorTxCode"];
tired so far --- // string VendorTxCode = decryptedDict["VendorTxCode"].Remove(0,3); // string VendorTxCode = decryptedDict["VendorTxCode".Remove(0,3)];
Have tired several ways but with no joy... Any help would be great for this.... I am just starting out coding and this is a new one.. Thanks in advanced...
Input string was not in a correct format. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.FormatException: Input string was not in a correct format.
Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.