RIS-RM-1027 Assign Payment Method By Source and Sub Source
- 1. Go to Apps > Application Store > Assign Payment Method > click Install and follow the on-screen instructions until the installation is complete.
- 2. Configure the macro.
- 3. Configure the rule in the Rules Engine screen.


Functionality
Our Powerful Functionality


Payment Method Assignment
Automatically assigns payment methods to orders based on their defined source and subsource.


Source and SubSource Matching
Matches orders with specified source and subsource criteria to ensure accurate payment method assignment.


Payment Method Lookup
Retrieves available payment methods from the Linnworks platform for selection.
Our App
Configure the macro
Go to Apps > Macro Configuration and click + Add new configuration.

Select the Assign Payment Method macro and click Create Configuration.

In the Macro Configuration screen, specify the below details and click Save:

Make sure to enable the macro to continue with the Rules Engine configuration.

Usage
Usage of App
Input Parameters (In Sequential Order):
1. OrderIds: Array of order IDs to process.
2. Source: Comma-separated list of source values to match against orders.
3. SubSource: Comma-separated list of subsource values to match against orders.
4. PaymentMethods: Comma-separated list of payment method names to assign to matching orders.
Execution
Call the macro with the necessary input parameters to initiate the payment method assignment process.
Outcome
1. The macro iterates through the specified orders and matches them with the provided source and subsource criteria.
2. If a match is found, the corresponding payment method from the provided list is assigned to the order.