Debug a Payment Profile Match
Payment Profile has no separate debug mode. Diagnose one reproducible checkout by recording its website, customer, customer group, cart, address and expected payment methods.
1. Confirm the module and scope
php bin/magento module:status MageB2B_PaymentProfile
Check Enable and the no-match setting in the active store configuration scope.
2. Confirm normal payment availability
Temporarily test the same checkout with Payment Profile disabled. A method missing in that test cannot be restored by a profile.
3. Build the eligible profile list
Include profiles assigned directly to the customer and profiles assigned to the customer group. Remove profiles from other websites.
4. Evaluate in priority order
Sort by ascending priority and test each profile's conditions against the actual quote. Stop at the first match. Its selected methods form the profile allowlist.
For shippable quotes, inspect the shipping address. For virtual quotes, inspect the billing address.
5. Compare the final methods
Each method must be both in the profile allowlist and available under its own Magento configuration. Country, currency, amount and integration-specific restrictions still apply.
6. Test no match
Use a customer or cart that deliberately matches no profile. Confirm that checkout either keeps Magento's normal methods or hides all methods, according to the configured policy.
If support is needed, provide this reproducible matrix without real customer data. A fictional .example customer and exact cart values are sufficient.