better-payment / bp-plugin-shopware6-api2

Shopware 6 Plugin for Better Payment API2
Other
0 stars 0 forks source link

[Fix] Display appropirate Invoice / SEPA payment methods according to company/individual. #39

Closed gadimbaylisahil closed 1 year ago

gadimbaylisahil commented 1 year ago

Description

As a customer, I want to see just Invoice and SEPA Direct Debit options available for me in checkout page, without B2B text.

Requirements

gadimbaylisahil commented 1 year ago

@hasanzade-hasan

Shopware has built in rule system to display a given payment method or not.

When plugin is installed, following rules should be added:

  1. Show SEPA Direct Debit, when customer IS NOT commercial.
  2. Show SEPA Direct Debit B2B, when customer IS commercial.

Apply the saame for Invoice adapters.