Hi,
Did you ever get this working via Macro? We are looking to do the identical thing on our Linnworks.
Thank you
his is Vinod from Rishvi Ltd - HyperStock , HyperLook.
We have full solution for this available and you can configure the payment methods for sub sources feel free to reach out
If you still require further help or custom solutions such as Advanced SQL Queries, Custom Reports, API Solutions, or Integrations, please feel free to reach me at
support@rishvi.co.uk
Kind regards.
Vinod
Redmman LTD
Hello. I would like to ask if anyone can help me with a custom macro script?
My aim is to change the payment method for future orders to "Transferwise EUR" if Source is "CDISCOUNT" and Subsource is "Redmman1".
This is what I did so far:
namespace linnworks.finaware.CommonData // leave untouched
{ // leave untouched
public class ScriptMacroClass : linnworks.scripting.core.IMacroScript // leave untouched
{ // leave untouched
public void Initialize(linnworks.scripting.core.Debugger debug, System.Data.SqlClient.SqlConnection ActiveConnection) // leave untouched
{ // leave untouched
}
public void Initialize(linnworks.finaware.CommondData.Objects.Order order, linnworks.scripting.core.Debugger debug, System.Data.SqlClient.SqlConnection ActiveConnection)
{
if (order.Source == "CDISCOUNT" && order.Subsource == "Redmman1"){
order.PaymentMethod(?) = "Transferwise EUR";
order.Save(0);}
} // leave untouched
} // leave untouched
} // leave untouched
1 person has this question