Order

4 недели назад
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.

Thank you.
4 недели назад
Store it in order.CustomValuesXml
processPaymentRequest.CustomValues.Add("Payment Invoice No.", ReturnedInvoiceNumber);

Or you can utilise one of these fields
order.AuthorizationTransactionId
order.CaptureTransactionId
4 недели назад
Ok I saved it but where can I get this data in order info?
Thank you.
4 недели назад
Any of those options will be displayed on the
4.20src\Presentation\Nop.Web\Areas\Admin\Views\Order\_OrderDetails.Info page
4 недели назад
Thank you.
4 недели назад
Hello,
Sorry How can I save values in order.CustomValuesXml after redirect from payment page.

Thank you.
4 недели назад
var processPaymentRequest = new ProcessPaymentRequest();
processPaymentRequest.CustomValues.Add("Payment Receipt No.", chargeInfo.ReceiptNumber);
order.CustomValuesXml = _paymentService.SerializeCustomValues(processPaymentRequest);
_orderService.UpdateOrder(order);
4 недели назад
Thank you very much