I develope payment method.. I redirect customer to payment gateway page to handle customer data after return to my website I get invoice number.. How ca I save it in order details.
Store it in order.CustomValuesXml
processPaymentRequest.CustomValues.Add("Payment Invoice No.", ReturnedInvoiceNumber);
Or you can utilise one of these fields
Ok I saved it but where can I get this data in order info?
Any of those options will be displayed on the
Sorry How can I save values in order.CustomValuesXml after redirect from payment page.
var processPaymentRequest = new ProcessPaymentRequest();
processPaymentRequest.CustomValues.Add("Payment Receipt No.", chargeInfo.ReceiptNumber);
order.CustomValuesXml = _paymentService.SerializeCustomValues(processPaymentRequest);