Summary
Currently, the payment method configuration, in the promotions product is not intended to be passed down via the fulfillment request/response.
However, if the user sets 2 payment methods identically on each side (marketplace and seller), with the same id and type and sets up a promotion with this kind of restriction on the marketplace, in several cases the promotions validation will identify this as a match for items being sold with the seller's inventory.
This "should not" be happening under the current product, it is an unexpected side effect.
The unintended side effects of this are difficult to map since the original product implementation was not mapped to make it work this way. The use of it does not guarantee its functioning in all contexts and cases.
It is recommended that you only use what the product is designed to do. Currently, it is not possible to pass on the payment method condition via fulfillment, and filtering through the marketplace generates non-mapped collateral effects.
Simulation
-
Set up a payment method on a marketplace.
-
Set up a payment method on a child account of this marketplace with the same id, type.
-
Set up a promotion on the marketplace restricted by this payment method.
-
In the marketplace environment, addToCart an item uses an item using the seller's inventory.
-
The promotion will apply over the item, which should NOT be the case under our current expected behavior.
Workaround
None (since this is an unintended side effect of something that "should not work and is currently working unreliably").