Setting Up B2B vs. B2C Payment Option Filtering
Last updated
7th May 2025
Read time
8 mins
Here's the deal: you're selling to restaurants AND regular folks, and they want completely different payment options at checkout. Your wholesale customers need invoice terms and purchase orders. Your retail customers want credit cards and digital wallets. Show both groups everything? You've just created a confusing mess.
We solve this by filtering payment options based on who's buying. Standard Shopify checkout doesn't do customer-specific payments, but Sway Functions does. You can detect B2B versus B2C customers and show each group exactly what they need.
The Business Case for B2B/B2C Payment Filtering
Streamlined B2B Experience
Wholesale customers see only relevant payment options like invoice and purchase orders
Appropriate B2C Options
Retail customers aren't confused by B2B-specific payment methods
Reduced Risk Management
Invoice terms are only offered to approved wholesale accounts
Simplified Checkout Flow
Each customer segment gets a cleaner, more focused payment selection
Enhanced Customer Satisfaction
Both B2B and B2C customers find payment experiences tailored to their needs
Step-by-Step Implementation
1. Access the Payment Functions Section
- From your Shopify admin, open the Sway Functions app
- You'll see Payment Functions card on the dashboard. Click Create.
- Select "Conditionally Remove Gateways" option
2. Create a New Payment Function for B2B Customers
Screenshot showing the Create function button and payment type selection
- Click "Create function"
- From the modal, select "Conditionally Remove Gateways"
- You'll be taken to the function editor
3. Configure Basic Settings
Screenshot showing the basic payment function configuration form
- Enter a descriptive campaign name (e.g., "Wholesale Account Payment Options")
- Set the function status to "Active"
4. Define B2B Customer Segment
Screenshot showing B2B customer segment configuration
This is where you'll specify how to identify wholesale customers:
- Under "Customer Qualifier," select "Customer Tags"
- Choose the condition "contains"
- Enter tags that identify B2B customers (e.g., "wholesale", "b2b", "approved_account")
- This ensures the function only applies to tagged wholesale accounts
5. Configure B2B Payment Options
Screenshot showing B2B payment options configuration
Now define which payment options should be available for B2B customers:
- Under "Payment Gateway Actions," select "Show Only"
- Choose "Gateway Name Contains"
- Add your B2B-appropriate payment options (e.g., "Invoice", "Purchase Order", "Net 30")
- This ensures B2B customers only see wholesale-appropriate payment methods
6. Create a Second Function for B2C Customers
Screenshot showing B2C function configuration
- Create a new payment function
- Name it "Retail Customer Payment Options"
- Under "Customer Qualifier," select "Customer Tags"
- Choose the condition "does not contain"
- Enter the same B2B identifier tags
- Under "Payment Gateway Actions," configure to show only consumer payment methods
- Add consumer payment options (e.g., "Credit Card", "PayPal", "Shop Pay")
7. Save and Test
- Save both functions
- Test thoroughly with both B2B and B2C customer accounts
Advanced Configuration Options
Tiered B2B Payment Privileges
Not all wholesale accounts are equal. Here's how to tier them:
- Create multiple B2B payment functions with different tag qualifiers
- For example:
- New wholesale accounts: Purchase order only
- Established accounts: Purchase order + Net 30 invoice
- Premium accounts: Purchase order + Net 30/60/90 options
- Set appropriate priority levels to ensure the correct function applies
Better customers get better payment terms.
Order Value-Based Payment Options
Order size matters for payment flexibility:
- Add cart total qualifiers alongside customer tag conditions
- Create different payment option sets for different order values
- For example:
- B2B orders under $1,000: Credit card or purchase order
- B2B orders $1,000-$5,000: Credit card, purchase order, or Net 30
- B2B orders over $5,000: Purchase order, Net 30, or Net 60
Bigger orders = better payment terms. Simple.
Hybrid Account Payment Options
Some customers buy for work AND home:
- Create hybrid payment functions for dual-purpose accounts
- Use a combination of customer tags and cart attributes
- For example: Show all payment options to hybrid accounts but prioritize business methods for larger orders
Flexible payment options work best for dual-purpose customers.
Implementation Example: Food Manufacturer
Screenshot showing food manufacturer payment example
Here's a real-world example from a food manufacturer serving both restaurants and direct consumers:
-
B2C Customer Experience:
- Available payment options:
- Credit/Debit Card
- PayPal
- Shop Pay
- Apple Pay / Google Pay
- Afterpay (orders under $1,000)
- No invoice or purchase order options shown
- Available payment options:
-
New B2B Customer Experience:
- Available payment options:
- Credit/Debit Card
- Purchase Order (requires approval)
- ACH Direct Transfer
- No consumer payment options shown
- No invoice terms available yet
- Available payment options:
-
Established B2B Customer Experience:
- Available payment options:
- Purchase Order
- Invoice - Net 15
- Invoice - Net 30 (for orders under $10,000)
- ACH Direct Transfer
- Credit card option only shown for orders under $2,000
- Available payment options:
Merchandising Your B2B Payment Approach
Screenshot showing B2B payment merchandising
Make your payment strategy work harder:
- Wholesale Benefits Pages - Highlight payment terms as a key benefit
- B2B FAQs - Answer invoice and term questions upfront
- Application Materials - Show how to qualify for payment privileges
- Marketing Integration - Feature payment flexibility in wholesale materials
- Account Dashboards - Display available payment methods clearly
Payment terms are a competitive advantage. Use them.
Real Results: Food Manufacturer Case Study
One food manufacturer nailed this approach:
- 42% jump in wholesale account signups
- 36% fewer payment support tickets
- 28% of B2B customers increased order sizes for better terms
- 18% faster payment collection
- 24% more repeat B2B business
Clean payment experiences drive real results.
Measuring Success
Track what matters:
- B2B Acquisition Rate - More wholesale signups?
- B2B Order Value - Bigger wholesale orders?
- Payment Method Split - What's popular in each segment?
- Days Sales Outstanding - Faster payment collection? โข Support Volume - Fewer payment questions?
Numbers don't lie about payment strategy success.
Common Issues and Solutions
Issue | Solution |
---|---|
New B2B customers confused by limited options | Create clear onboarding materials explaining payment progression |
B2B customers wanting consumer convenience | Add B2B-focused digital payment options like ACH and wire transfers |
Payment gateway identification challenges | Consult with payment providers for exact gateway identifiers |
Managing credit risk with invoice terms | Implement tiered approval system with automatic credit limits |
Next Steps
Ready to sort your payment chaos? Here's your roadmap:
- Define your B2B and B2C customer segments clearly
- Build a consistent customer tagging system
- Decide appropriate payment methods for each segment
- Create your payment gateway filtering functions
- Develop educational content about payment options
Need help with your B2B payment strategy? Book a consultation with our team.
Ask in our community
Question not answered? Ask us and other customers in the Sway customer community.
Go to community
Contact support
Message our support team privately to discuss anything specific to your organization
Contact support