Sylius/tests/Api/DataFixtures/ORM/payment_method.yaml
2023-11-21 15:53:09 +01:00

66 lines
2.2 KiB
YAML

Sylius\Component\Core\Model\PaymentMethod:
payment_method_cash_on_delivery:
code: 'CASH_ON_DELIVERY'
enabled: true
gatewayConfig: '@gateway_offline'
currentLocale: 'en_US'
translations:
- '@payment_method_cash_on_delivery_translation'
channels: ['@channel_web']
payment_method_bank_transfer:
code: 'BANK_TRANSFER'
enabled: true
gatewayConfig: '@gateway_offline'
translations:
- '@payment_method_bank_transfer_translation'
channels: ['@channel_web']
disabled_payment_method:
code: 'DISABLED_PAYMENT_METHOD'
enabled: false
gatewayConfig: '@gateway_offline'
translations:
- '@disabled_payment_method_translation'
channels: ['@channel_web']
paypal_payment_method:
code: 'PAYPAL'
enabled: true
gatewayConfig: '@gateway_paypal'
translations:
- '@paypal_payment_method_translation'
channels: ['@channel_web']
Sylius\Bundle\PayumBundle\Model\GatewayConfig:
gateway_offline:
gatewayName: 'Offline'
factoryName: 'offline'
config: []
gateway_paypal:
gatewayName: 'paypal_express_checkout'
factoryName: 'paypal_express_checkout'
config:
username: 'test'
password: 'test'
signature: 'test'
sandbox: true
Sylius\Component\Payment\Model\PaymentMethodTranslation:
payment_method_cash_on_delivery_translation:
name: 'Cash on delivery'
locale: 'en_US'
description: '<paragraph(2)>'
translatable: '@payment_method_cash_on_delivery'
payment_method_bank_transfer_translation:
name: 'Bank transfer'
locale: 'en_US'
description: '<paragraph(2)>'
translatable: '@payment_method_bank_transfer'
disabled_payment_method_translation:
name: 'Disabled payment method'
locale: 'en_US'
description: '<paragraph(2)>'
translatable: '@disabled_payment_method'
paypal_payment_method_translation:
name: 'PayPal'
locale: 'en_US'
description: '<paragraph(2)>'
translatable: '@paypal_payment_method'